File association with multiple arguments - 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!

Koen
Posts: 21
Joined: Thu May 06, 2010 7:49 am

File association with multiple arguments

Hi,

I'm using file association for my .xbp files. On the open action of those files I want to pass along 2 arguments the first being the filename of the file and the second argument needs to be "-w". But I can't seem to figure out how to combine the 2. I've tried "%1" "-w", "%1 -w"


Best regards,
Koen
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: File association with multiple arguments

Hi Koen,

I have tested with:

Code: Select all

"%1" -extraoption
in the arguments field and it got passed correctly to my program. Let me know if it worked. If it did not, please debug your code to make sure you are correctly processing the command line.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”