/build/static/layout/Breadcrumb_cap_w.png

Adding a Shortcut with Parameters

Hi all!

I have come across an application that needs a shortcut with a parameter (I haven't encountered this before). I am creating a Transform and currently use Adminstudio Tuner.

The format for the shortcut is:

app.exe "app.ini"

Any ideas how this can be done?

I have tried:

INSTALLDIR\app.exe "app.ini"

Many thanks,

Matt

0 Comments   [ + ] Show comments

Answers (6)

Posted by: jB! 13 years ago
Senior Yellow Belt
0
as far as i know there is an entry called Arguments in making a shortcut using Adminstudio.

Have you tried doing that?

Target - app.exe
Argument - "app.ini"
Posted by: yuri 13 years ago
Orange Belt
0
Use a tool like Orca (or InstEd) to add the parameter in the tables, by filling the arguments field in the Shortcut table.
Posted by: anonymous_9363 13 years ago
Red Belt
0
...but do that via a transform, as you should avoid directly editing vendor-supplied MSIs.
Posted by: captain_planet 13 years ago
Black Belt
0
....and your 'Arguments' column in the 'Shortcut' table should probably either say:

"[INSTALLDIR]app.ini" (assuming your ini file is in the install directory)

or

"[#key_name_in_file_table]" (assuming your ini file is in the file table, that is)
Posted by: anonymous_9363 13 years ago
Red Belt
0
Good point. Cap'n.
Posted by: yuri 13 years ago
Orange Belt
0
ORIGINAL: VBScab

...but do that via a transform, as you should avoid directly editing vendor-supplied MSIs.

Yes of course, you're right VBScab.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ