BobCrothers
Posts: 66
Joined: Wed Dec 05, 2007 10:58 pm

Ran as administrator hangs

Hi,

If "Run as administrator" is checked on the install parameters page, then the install hangs. The installer displays "Extracting prerequisite software" and does not move beyond that point. Also cancel does not exit the install program. If "Run as administrator" is not checked and the installer is run as administrator by right click and select run as administrator then the install succeeds.

After seeing this problem, I tried to get the log. When I ran the same program with "Run as administrator" checked and passing /L*V "C:\install.log" the install succeeded ??.

Installing a a virtual machine
I sign onto the VM as administrator
Windows Server 2008 R2
64 bit

The installer was built with Advance Installer 10.8. Earlier I had tried the newer version of Advanced Installer, but this resulted in double reboot, so I backed that version out. We build a single exe with resources inside.


Thanks
Bob
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Ran as administrator hangs

Hello Bob,

I've tested the scenario on a Windows Server 2008 R2 machine, but I cannot replicate the behavior. Can you please tell us if you can replicate the behavior on multiple machines? It would be very useful if you could isolate this behavior in a sample (project file and its referenced file) and send it us alongside a test case scenario to support at advancedinstaller dot com so we can test and investigate this.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
BobCrothers
Posts: 66
Joined: Wed Dec 05, 2007 10:58 pm

Re: Ran as administrator hangs

Yesterday it was consistent, if run as administrator was checked the installer hung, if it was not checked it succeeded. Today I have seen it hang when run as administrator is not checked, and I have seen success when run as admin is checked. Do you have any ideas what would make it hang? The install exe file is over a GB.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Ran as administrator hangs

Hello Bob,

I'm not sure, but this may happen if the current installing user doesn't have enough permissions on the prerequisite extract location (this is specified in your project in "Prerequisites page -> Packages -> Download/extraction folder" field). So, can you please check if the current installing user has write permissions on the above path?

As another reason, maybe on target machine exists a firewall/antivirus or a security policy which could block the main installation process to extract the prerequisite setup at install time.

Also, can you please test the scenario on multiple machines and see if the behavior replicates?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”