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
- :
- Execute Process
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
‎May 08, 2006
05:30 AM
Execute Process
Hi,
I am trying to execute a process(running a batch file) by passing 4 arguments.
The values for the arguments are stored in four variables which I get from the user input from the last dialog.
I have specfied the argumentin argument properties in two diffrent way .But this is not working.
-is:"$V(servernameval)"
-is:"$V(mysqlport)"
-is:"$V(uid)"
-is:"$V(pass)"
"$V(servernameval)"
"$V(mysqlport)"
"$V(uid)"
"$V(pass)"
How should I specify the argument in the Argument property?
Thanks,
Sudeshna
I am trying to execute a process(running a batch file) by passing 4 arguments.
The values for the arguments are stored in four variables which I get from the user input from the last dialog.
I have specfied the argumentin argument properties in two diffrent way .But this is not working.
-is:"$V(servernameval)"
-is:"$V(mysqlport)"
-is:"$V(uid)"
-is:"$V(pass)"
"$V(servernameval)"
"$V(mysqlport)"
"$V(uid)"
"$V(pass)"
How should I specify the argument in the Argument property?
Thanks,
Sudeshna
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 09, 2006
02:20 PM
I'm assuming you are using the Execute Process action!
If you are installing this batch file you should be able to just set the command to:
$P(beanIDofBatchFile.absoluteInstallLocation)/batchfile.bat
and just add the values to the list of Arguments in the Arguments properties!
Argument list - do not need " around them!
$V(servernameval)
$V(mysqlport)
$V(uid)
$V(pass)
Regards,
Tom
If you are installing this batch file you should be able to just set the command to:
$P(beanIDofBatchFile.absoluteInstallLocation)/batchfile.bat
and just add the values to the list of Arguments in the Arguments properties!
Argument list - do not need " around them!
$V(servernameval)
$V(mysqlport)
$V(uid)
$V(pass)
Regards,
Tom
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 15, 2006
07:27 AM
Thank you Tom.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 15, 2006
07:02 PM
Hi
The Execute Process wizard bean gives argument values with double quote character around the value string. You have to remove these double quote character from the value string in a bat script. Write a sample script and print the incoming values %1, %1, %3... in a bat script.
You can find the bat scripting references on google how to remove the double quote from a string.
The Execute Process wizard bean gives argument values with double quote character around the value string. You have to remove these double quote character from the value string in a bat script. Write a sample script and print the incoming values %1, %1, %3... in a bat script.
You can find the bat scripting references on google how to remove the double quote from a string.