Problem with silent install - 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!

gjandris
Posts: 15
Joined: Tue Jan 12, 2010 8:51 pm

Problem with silent install

I wrote a vbscript custom action that takes in parameters, one of them is ADDLOCAL, which I use to add entries
to a file based on features installed. When running the installer with the GUI, everything works fine and a list
of features gets passed in. When run as a silent install, the list is empty. The command line for running silent is:
msiexec /qn /i "invClients.msi" SERVER_NAME="bs1" SERVER_PORT="9280" /L*V "BEAInstallSilent.log"

Is there a reason ADDLOCAL has nothing in it when the installer is run like this? As I said, works fine with a gui
install. Any hints would be helpful. Thanks.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Problem with silent install

Hi,

It seems this property is not available during a silent install, even if no docs from Microsoft present this information.

Another method to get the states of your features is to use "Session.FeatureRequestState", as in the following example.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”