p35t173nc3
Posts: 33
Joined: Wed Apr 02, 2008 1:20 pm

AI_SetLogOnAsService Fails silent install

Hello, I have come accross a problem where the AI_SetLogOnAsService custom action causes silent installations to fail.

The scenario:
We have an installation package with multiple builds.
Some of these builds install a service and possibly override the service account under which the service will run. These builds work as expected.

Other builds do not install the service at all.
These builds work when executed with the UI but fail when /qn is specified.
I tracked the issue to the AI_SetLogOnAsService custom action which for some reason is not filtered out of the InstallExecuteSequence for builds that do not contain the service.

I have sworked around this issue for now by specifying a condition, in the table editor, that will never be true for those builds that do not install the service.

Just thought you might like to know.
Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: AI_SetLogOnAsService Fails silent install

Hello,

I'm not sure why you encountered this behavior.
In order to have a better view about this, can you please send us the .AIP (project file) and a verbose log of the installation process to support at advancedinstaller dot com so we can investigate them?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
p35t173nc3
Posts: 33
Joined: Wed Apr 02, 2008 1:20 pm

Re: AI_SetLogOnAsService Fails silent install

I dont really have time, i just wanted you to know. Like I said I have a workaround, just condition the custom action in the table editor so it doesn't run when it shouldnt and everything works perfectly.
stolliver
Posts: 6
Joined: Tue Feb 11, 2014 4:57 pm

Re: AI_SetLogOnAsService Fails silent install

Hi,

Having same problem on Windows7. Same issue, but "not" for "silent install". Sending log & aip.

Thanks
Attachments
HolonEngineSetup.aip
Project setup file
(234.46 KiB) Downloaded 384 times
HolonEngineInstall.log
Verbose log
(657.07 KiB) Downloaded 265 times
Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: AI_SetLogOnAsService Fails silent install

Hello,

I've tested your scenario and this seems to be an Advanced Installer issue. A fix will be available in a future version of Advanced Installer, thank you for bringing it to our attention.
Also, I've attached a .zip archive which contains your fixed .AIP(project file). Please let us know if it is working as expected.

Best regards,
Dan
Attachments
HolonEngineSetup_FIXED.zip
(26.75 KiB) Downloaded 260 times
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
stolliver
Posts: 6
Joined: Tue Feb 11, 2014 4:57 pm

Re: AI_SetLogOnAsService Fails silent install

Dan,

"Yes", the repaired .aip you sent got us beyond the issue.

Many thanks!

Shelby
Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: AI_SetLogOnAsService Fails silent install

You're welcome Shelby,

If there is anything else I can help with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”