/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (2)

Posted by: sikkert 18 years ago
Orange Senior Belt
0
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.
Posted by: ibnufatima 18 years ago
Senior Yellow Belt
0
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..

Thanks
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ