Advanced Installer Community - Search

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Search found 23 matches

Go to advanced search

by doolav
Thu Jan 20, 2011 2:35 pm
Forum: Common Problems
Topic: conditional reboot
Replies: 11
Views: 9294
 
Jump to post

Re: conditional reboot

Hi Mihai,

I sent the file (called File001.zip) to the support email.
What I want to achieve is the following:
1. if I install my product on Win7 or upward machine, I don't want a reboot after installation, otherwise a reboot must happen.
2. if I uninstall my product from Win7 or upward machine, I ...
by doolav
Wed Jan 19, 2011 2:49 pm
Forum: Common Problems
Topic: conditional reboot
Replies: 11
Views: 9294
 
Jump to post

Re: conditional reboot

Hello Mihai,

in the Help I found this topic: 'How do I uninstall another MSI package when my application is uninstalled?' - there is a vbs sample, overwriting UNINSTALL_PREREQ property.

Could AI_INSTALL property be overwritten the same way in order to suppress a reboot?

Thanks,
Alex.
by doolav
Wed Jan 19, 2011 12:21 pm
Forum: Common Problems
Topic: conditional reboot
Replies: 11
Views: 9294
 
Jump to post

Re: conditional reboot

Hello Mihai,

I tried to add that condition into maintenance dlg, but no effect - still reboot is requested after uninstall completes.

Thanks,
Alex.
by doolav
Tue Jan 18, 2011 11:20 am
Forum: Common Problems
Topic: conditional reboot
Replies: 11
Views: 9294
 
Jump to post

Re: conditional reboot

Hello Mihai,

but, if I understood it correctly, all published events for the 'Finish' button on ExitDialog have the 'AI_INSTALL' condition preset, if I add another condition, it will be 'AND'ed with the 'AI_INSTALL'. So, whatever condition I add, it may or may not trigger _on_install_only_ because ...
by doolav
Mon Jan 17, 2011 7:37 pm
Forum: Common Problems
Topic: conditional reboot
Replies: 11
Views: 9294
 
Jump to post

Re: conditional reboot

The install is fine now.
However, I still get reboot prompt on uninstall regardless what OS I am on. In 'Install Parameters' I have the 'Reboot behavior' set to 'Force Reboot after install', and I overwrite it in the handler for the 'Finish' button in the 'First Time Install' dlg, OS dependent. How ...
by doolav
Mon Jan 17, 2011 6:23 pm
Forum: Common Problems
Topic: conditional reboot
Replies: 11
Views: 9294
 
Jump to post

Re: conditional reboot

Thanks Mihai,

Exactly what I was looking for.

Alex.
by doolav
Fri Jan 14, 2011 4:42 pm
Forum: Common Problems
Topic: conditional reboot
Replies: 11
Views: 9294
 
Jump to post

conditional reboot

Hi,

I want my installer to reboot after installation completed if we are on a prior to win7 PC, and not to reboot on win7 or higher.

Is there an 'easy' way to do that?

Thanks,
Alex.
by doolav
Fri Jan 14, 2011 4:37 pm
Forum: Common Problems
Topic: win7 uac on - uninstall fails
Replies: 3
Views: 3529
 
Jump to post

Re: win7 uac on - uninstall fails

Hello Mihai,

sorry to bother you too early - I think I got it working now. Did not work straight away as there was a process, holding the Product Folder handle. Was fixed by adding a custom action which stops the process on uninstall.

The question I still have though - this behaviour was different ...
by doolav
Fri Jan 14, 2011 2:57 pm
Forum: Common Problems
Topic: win7 uac on - uninstall fails
Replies: 3
Views: 3529
 
Jump to post

win7 uac on - uninstall fails

Hello,
I want to be able to uninstall my software (without 'run as admin') on a pc running win7 with uac turned on. In case of exe installer I embed a manifest, requesting the privileges required. How do I handle it in msi scenario?

Thanks,
Alex.
by doolav
Fri Jan 14, 2011 10:57 am
Forum: Common Problems
Topic: custom action fails uninstall process
Replies: 5
Views: 5036
 
Jump to post

Re: custom action fails uninstall process

Fixed this one!
"Historically" we used to add all new custom actions in the same vbs file. I just created a new vbs for my install/uninstall driver custom actions, and it all works now.
Still interested in comments as of why is it like this?

Thanks,
Alex.
by doolav
Wed Jan 12, 2011 3:43 pm
Forum: Common Problems
Topic: custom action fails uninstall process
Replies: 5
Views: 5036
 
Jump to post

Re: custom action fails uninstall process

Also - I tried to put the .sys and .inf files into system32 folder - the driver uninstall is still ok (and these files get removed after uninstall), but in my product folder there is still one subfolder left with one file in it, having no relation to the driver at all :?
by doolav
Wed Jan 12, 2011 1:06 pm
Forum: Common Problems
Topic: custom action fails uninstall process
Replies: 5
Views: 5036
 
Jump to post

Re: custom action fails uninstall process

Hello Bogdan,

I already tried to debug - both custom actions work ok separately (when another one is excluded from the aip script). However, when they are both present in the script, the following thing happens on uninstall:
1. driver uninstalls ok
2. an attempt is taken to remove the product ...
by doolav
Mon Jan 10, 2011 3:01 pm
Forum: Common Problems
Topic: custom action fails uninstall process
Replies: 5
Views: 5036
 
Jump to post

custom action fails uninstall process

Hi,
on windows 7 with UAC disabled I experience uninstall failure if some custom action added as an attached vbscript, running a command from cmd to uninstall a driver:

Function RemoveWFPDriver()
WriteToLog("removing driver")
ReturnCode = WFPRun("rundll32 syssetup,SetupInfObjectInstallAction ...
by doolav
Tue Dec 21, 2010 5:44 pm
Forum: Common Problems
Topic: launch application _conditionally_ after installation ended
Replies: 2
Views: 2834
 
Jump to post

Re: launch application _conditionally_ after installation ended

Hello Mihai,

the 'UI Custom Actions' + 'published events' for the 'Finish' button have made the trick.

Thanks for your help,
Alex.
by doolav
Thu Dec 16, 2010 4:02 pm
Forum: Common Problems
Topic: cannot install a driver
Replies: 22
Views: 20400
 
Jump to post

Re: cannot install a driver

Great, thanks for your help!

Go to advanced search