User ini file - 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!

mdneff
Posts: 4
Joined: Fri Apr 11, 2008 2:20 am

User ini file

I would like my users to be able to prepopulate an ini file with configuration options before running the installer. Then the entries would override the defaults of the respective parameters configured within the installer. This would be used when the installer is run in silent mode. I can see that AI creates an ini file for specifying prerequisites, but I don't see any methods within AI to read from an existing ini file that is not part of the msi. What is the correct way to do this? I'm using a newly licensed enterprise v6.2.
Thanks.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: User ini file

Hi,
I would like my users to be able to prepopulate an ini file with configuration options before running the installer. Then the entries would override the defaults of the respective parameters configured within the installer. This would be used when the installer is run in silent mode.
Currently this feature is not supported by Advanced Installer. However, we have it on our TODO list and it will be available in a future version.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mdneff
Posts: 4
Joined: Fri Apr 11, 2008 2:20 am

Re: User ini file

OK, if that's the case, what do I need to do to send in the parameters from the command line?

Thanks

BTW- otherwise I'm very happy with this product.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: User ini file

Hi,

Since the "msiexec.exe" command line allows you to only set properties in the installation package, you can only pass values to some of the properties in your package. For example, launching the "test.msi" package with this command line:

Code: Select all

msiexec /i test.msi APPDIR="C:\Test"
will launch the installation with the "Application Folder" set to "C:\Test" (the APPDIR property is associated to the "Application Folder" directory in the "Files and Folders" page).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mdneff
Posts: 4
Joined: Fri Apr 11, 2008 2:20 am

Re: User ini file

Thank you. Setting properties this way works fine.

Return to “Common Problems”