Problem when running installer with /qn - Advanced Installer Community

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!

Ran W
Posts: 3
Joined: Mon Aug 13, 2007 12:34 pm

Problem when running installer with /qn

Hi

I have 4 configuration files which I don't want to override when I'm upgrading.
Therefore I've created two custom actions: one that backup the files to a temp directory during CostFinalize and another action to restore them on InstallFinalize.
Everything is working great when I run the installer without any switch, but when I use /qn, 2 of the 4 configuration file are being overridden with the defaults from the installer.
There is absolutely no difference between the files and also when I don't use the /qn switch all 4 files are keeping their settings so the problem is in the installer.
I thought that this might be a bug that was solved (I used version 6.1.1) so I bought a maintenance program renewal but the same behavior is kept in version 7.0.1.

What should I do next?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Problem when running installer with /qn

Hi,

Are the backup custom actions scheduled in "InstallUISequence" or in "InstallExecuteSequence"? Please note that silent installations (like the one triggered by the "/qn" parameter) do not use "InstallUISequence".

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Ran W
Posts: 3
Joined: Mon Aug 13, 2007 12:34 pm

Re: Problem when running installer with /qn

The custom action are triggered in the InstallExecuteSequence.
Even more, the custom actions run (because 2 of the 4 file are being saved)

Ran
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Problem when running installer with /qn

Hi,

I'm not sure why this happens. Can you please send us the .AIP (project) file and a verbose log of the upgrade process to support at advancedinstaller dot com so we can investigate it?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”