/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

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"
Answered 03/27/2011 by: jB!
Senior Yellow Belt

Please log in to comment
0
Use a tool like Orca (or InstEd) to add the parameter in the tables, by filling the arguments field in the Shortcut table.
Answered 03/27/2011 by: yuri
Orange Belt

Please log in to comment
0
...but do that via a transform, as you should avoid directly editing vendor-supplied MSIs.
Answered 03/28/2011 by: VBScab
Red Belt

Please log in to comment
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)
Answered 03/28/2011 by: captain_planet
Fourth Degree Brown Belt

Please log in to comment
0
Good point. Cap'n.
Answered 03/28/2011 by: VBScab
Red Belt

Please log in to comment
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.
Answered 03/28/2011 by: yuri
Orange Belt

Please log in to comment