This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to give a Path with a Commandline call
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 08, 2009
07:13 AM
How to give a Path with a Commandline call
Hi
How can I call the Commandline and give a path with them?
Example:
In the Commandline window
"C:\Programs\InstallShield\MyInstallation" C:\Programs\installShield\Install.ini
I want that the path "C:\Programs\InstallShield\Install.ini" will save in a Property... But I don't know how I can do that...
I hope you can help me and thx
regards
Blueeberry
How can I call the Commandline and give a path with them?
Example:
In the Commandline window
"C:\Programs\InstallShield\MyInstallation" C:\Programs\installShield\Install.ini
I want that the path "C:\Programs\InstallShield\Install.ini" will save in a Property... But I don't know how I can do that...
I hope you can help me and thx
regards
Blueeberry
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 09, 2009
03:26 AM
What kind of project are you using? At least with a basic MSI project you can define what property should get that path as a value when launching the installation from the command line.
When using a setup.exe:
setup.exe /v"MYPROPERTY=\"C:\Programs\InstallShield\Install.ini\""
Without a setup.exe:
msiexec -i mypackage.msi MYPROPERTY="C:\Programs\InstallShield\Install.ini"
When using a setup.exe:
setup.exe /v"MYPROPERTY=\"C:\Programs\InstallShield\Install.ini\""
Without a setup.exe:
msiexec -i mypackage.msi MYPROPERTY="C:\Programs\InstallShield\Install.ini"
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 09, 2009
10:01 AM
Hi IlkkaV
I know this variant and i thank you, that you replay my Questen.
But I would like that I only have to write "C:\Programs\Install.ini" without the /v"PROPERTY=C:\Programs\Install.ini"... I don't know how but I hope this is realizable...
regards
Blueeberry
I know this variant and i thank you, that you replay my Questen.
But I would like that I only have to write "C:\Programs\Install.ini" without the /v"PROPERTY=C:\Programs\Install.ini"... I don't know how but I hope this is realizable...
regards
Blueeberry
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 10, 2009
05:01 PM
If you are using an installscript project, perhaps parsing the CMDLINE variable will help. For Basic MSI, you have to use /v
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 13, 2009
12:28 AM
gbaltazar wrote:
If you are using an installscript project, perhaps parsing the CMDLINE variable will help. For Basic MSI, you have to use /v
Even that won't provide the syntax he's after, as anything going to the CMDLINE variable needs to be passed with a /z switch.