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..

0 Comments   [ + ] Show 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.


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.
Answered 06/29/2006 by: sikkert
Orange Senior Belt

Please log in to comment
Thanks man....I will try that
Just want to mention that we may also use the MSI Wrapper for Windows Installer...

I will try both ways....

I hope if anyone has a better solution, please post it for me..

Answered 06/30/2006 by: ibnufatima
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity