exe Setup with Custom Command Line - 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!

invalidptr
Posts: 79
Joined: Thu Nov 18, 2010 7:10 pm

exe Setup with Custom Command Line

Based on this article:
http://www.advancedinstaller.com/user-g ... -file.html

Is it possible to pass any arguments of my own to setup for use by my setup logic?

My current attempts result in "Invalid command line"
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: exe Setup with Custom Command Line

Hi,

Th setup accepts only a predefined list of command line arguments. However, you can set from the command line any public property that you want.

This will be passed to the MSI extracted by the setup EXE so you can use them as desired. Very important is order of the parameters, the correct one is to first specify the proprietary .EXE switches and then the standard .MSI switches.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
invalidptr
Posts: 79
Joined: Thu Nov 18, 2010 7:10 pm

Re: exe Setup with Custom Command Line

Note to future self: As noted in the link: "This command line overrides the one specified in the "Install Options" from the Configuration Settings Tab." So, when you launch it from within your code - you'll need to specify the command from the "Install Options"

Return to “Common Problems”