AI hangs during patch creation - Advanced Installer Community
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

AI hangs during patch creation

Hi,

We are trying to release a new patch of an older version of our product. Previously everything was running fine, but now the build server hangs forever, when creating the patch project: the only thing, you can see in the log is the start of the build:

Code: Select all

  Building package: D:\Builds\2_A14\Sources\Setup\Outcome\Patch\TheClient.msp 
  
  Running MSI patch compatibility tests... done.
That's All. After that step, the installer seems to hang, and the build server kills the process after 8h of waiting.

On this build server AI 11.1 is used for creating setups and patches.

Any idea, why this happens?

Regards,

Roland
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: AI hangs during patch creation

Ah,

it seems, that the Windows Installer hangs during package extraction:
2015_05_08_10_48_37_vie1auto2_Remote_Desktop_Connection.png
2015_05_08_10_48_37_vie1auto2_Remote_Desktop_Connection.png (20.47 KiB) Viewed 7578 times
I guess, the installer cannot show any user interface, but the package extraction is done via /qb. Can I change that to /qn somehow?

Regards,

Roland
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: AI hangs during patch creation

Hi Roland,

Can you please try to crate the patch manually and see if the behaviour still persist? Also, can you please try to see if the behaviour still persist on another machine?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: AI hangs during patch creation

Hi Dan,

when I create the patches with the same user account, but manual using GUI it stops as well. After I changed the account to be a local administrator, it works. This is somehow weird, because on another machine I run exactly the same scenario without admin privileges and it works. I guess, the problem is here the team build server, because the second server is using a newer version (TFS 2013 U4 vs. 2010 SP1) and this works perfectly with less than admin privileges.

For now, I have changed the permissions as described. Nevertheless, may I suggest to add an option to extract the files with /qn option, when building patches from command line?

Thanks,

Roland
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: AI hangs during patch creation

Hi Dan,

any news here? I am faced with the problem on another build server as well (producing patches without UI). It seems in general, that the extraction process hangs, when the account running advanced installer (and also used for msiexec /a ...) has not local admin rights.

Due to security considerations, I am forced to disable the admin privileges.

This build server uses AI 12.0 and 12.1. I also found out, why the second team build server was not effected at the beginning: it was just not creating patches so far.

Any idea for a workaround?

Regards,

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

Re: AI hangs during patch creation

Hello Roland,

Firstly I want to apologize for our delayed reply. My colleague Dan is a bit busy lately, so I pickup this thread.

Can you please open the AI application on your standard (non-administrator) user account and go to "File menu -> Options -> External Tools" and in the "Patch" section make sure the "MsiMsp.exe" installation path is set? If the Windows SDK is not already installed on your build machine, then please install Windows SDK and then set the "MsiMsp.exe" installed file in the AI External Tools settings.

After setting the "MsiMsp.exe" in the AI Extrenal Tools settings, please try to build within AI with GUI the patch project and see if the error still persists? If so, please send us the patch build log and let us know the software configuration of your build machine (Windows version, system language, etc).

Also, it would be very useful for us if you could prepare a buildable sample (AIPs + their referenced files) which replicates the issue and send it us to support at advancedinstaller dot com alongside a test case to follow.

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

Return to “Common Problems”