Hi I have a problem in my current project I need to restart during the prerequisites install for sql server 2008 express to be ready to install but after the restart installer does not run automatically on windows server 2003 and on vista it is blocked by windows defender also it keeps trying to start at every restart not just during installation ones is there a solution for this ?
I'm not sure why you are encountering this behavior. Can you reproduce it on other machines? Note that the registry entry which handles the installer restart is removed when the installer runs after the reboot. A solution would be to allow the installer to run.
Well I have tried it on other machines too it does the same thing on windows server 2008 just like vista and on xp its same as 2003. Also what I want is that the installer runs without getting stuck to windows defender a way to do this would be making it a scheduled task to run at startup after restart and then deleting the task
Unfortunately we are unable to reproduce this behavior on our test machines. Can you please send us the .AIP (project) file you are using to support at advancedinstaller dot com so we can investigate it? Also, please provide an URL from where we can download the package with the problem.
On Vista the installer is blocked because its bootstrapper requires Administrator privileges (it needs elevation). This is the normal Windows behavior. A solution is to use the "As Invoker" execution level for your bootstrapper.
On Windows XP and Server 2003 we were unable to reproduce the behavior you encountered. The installer is launched every time after a reboot. Do the machines with the problem have any special software installed or special policies set?
Well I tried using "As Invoker" but it caused another problem. Now at every prerequisite vista asks permission to run installer of the prerequisite but I don't want that so is there another solution for this please?
Unfortunately I'm not aware of any other possibilities. The installer can be elevated from the start, but it will be blocked after a reboot or each prerequisite can be elevated separately. This is a Windows limitation.
FOLLOW US
Get the latest news in Application Packaging