Scripting Question
I am building an msi that will basically trigger some scripts.
I wrote scripts that will stop and start services...
Now I want to write a script (Using the MSI Script page and WiseScript
Express ) that will make a system32 command run a program located in a network location.:
>>>> C:\windows\system32\<commandName> <MyProgram>
I already setup the paths and the parameters for <MyProgram> using an ini file which has the same name as <commandName> commandName.ini) and which is located also in a network location.
I just want that script to call that system32 commandName from the MSI and run my program by referring to it from the ini file..I know it is a kind of a workaround...But my company is using the commandName.ini to run different programs and myProgram will be one of them...
Please Guys I need your help in this..
Also if there is any links or websites to learn VbScripts and WiseScripts (Courese and Turorials Not including Wise knowelgdebase) that will be Great.
Thanks A lot in advance..
MSI
I wrote scripts that will stop and start services...
Now I want to write a script (Using the MSI Script page and WiseScript
Express ) that will make a system32 command run a program located in a network location.:
>>>> C:\windows\system32\<commandName> <MyProgram>
I already setup the paths and the parameters for <MyProgram> using an ini file which has the same name as <commandName> commandName.ini) and which is located also in a network location.
I just want that script to call that system32 commandName from the MSI and run my program by referring to it from the ini file..I know it is a kind of a workaround...But my company is using the commandName.ini to run different programs and myProgram will be one of them...
Please Guys I need your help in this..
Also if there is any links or websites to learn VbScripts and WiseScripts (Courese and Turorials Not including Wise knowelgdebase) that will be Great.
Thanks A lot in advance..
MSI
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
sikkert
18 years ago
You probably want a CA type 1058 (deferred CA + type 34) that runs an exe-file that is already installed on your machine.
Something like:
Action: Type: Source: Target:
NameOfCA 1058 SystemFolder [SystemFolder]<commandname.exe> <MyProgram>
Also, you can stop and start services from the msi itself, have you tried that?
As for scripting tutorials: www.google.com. You find tons of them there;) And sorry, don't have anyone spesific to recommend.
Hope this helps.
Something like:
Action: Type: Source: Target:
NameOfCA 1058 SystemFolder [SystemFolder]<commandname.exe> <MyProgram>
Also, you can stop and start services from the msi itself, have you tried that?
As for scripting tutorials: www.google.com. You find tons of them there;) And sorry, don't have anyone spesific to recommend.
Hope this helps.
Posted by:
ibnufatima
18 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.