Using a property in a shortcut's command-line 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!

reticent
Posts: 4
Joined: Sat Nov 19, 2011 1:37 pm

Using a property in a shortcut's command-line arguments

I've created a dialog where user can specify the value of a property. I've also added this property to command-line arguments of a shortcut. After installation I see that my shortcut contains the default value of the property, not the value specified during the installation. What am I missing?

I tried searching the board to no avail because "property" has been set as a common word so one cannot search for it. :(
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Using a property in a shortcut's command-line arguments

Hello and welcome to Advanced Installer forums,

Are you using a public property reference in the the "Argumets" formatted field?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
reticent
Posts: 4
Joined: Sat Nov 19, 2011 1:37 pm

Re: Using a property in a shortcut's command-line arguments

No, I was using a private property. Public property solved the problem, thanks!
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Using a property in a shortcut's command-line arguments

You're welcome, glad to assist.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”