/build/static/layout/Breadcrumb_cap_w.png

Execute script while installing

Hello!

Basically what Im trying to do (still no success) is to execute some script while installing. I don't care about if it's before, after of while installing, I just want this script to be executed somewhere in the time.

The best would be to get my VBS file in a MST then apply this MST to my MSI.

Any help would be very appreciated.

Thanks!

0 Comments   [ + ] Show comments

Answers (3)

Posted by: aogilmor 18 years ago
9th Degree Black Belt
0
check this out. There are several custom actions capable of running a vbscript.
Posted by: wd40 18 years ago
Orange Senior Belt
0
Ya I found that yesterday. But I was more looking for an exemple. I am reading that and half of the stuff I don't understand. I guess I'll to test them to see in concrete world what it does.

Thanks!
Posted by: aogilmor 18 years ago
9th Degree Black Belt
0
well it kind of depends on what you want to do. there's a number of ways of doing this, for example you can have an embedded vbscript which does something, or a vbscript file which is installed with the installation itself. If you're calling the vbscript file, the timing of the action would have to be after the file is installed. With an embedded script you have more flexibility. Also you will want to condition your action (NOT Installed) or (REMOVE ="ALL") if it's something you want to have done on installation but not on removal, or vice versa. With these types of actions, error control is really the responsibility of the developer; very little windows installer can do once a vbscript is kicked off.

if you want specific examples, altiris.com (Wise) has some good discussion groups. Do a search on vbscript, i'm sure you'll come up with something. Good luck!

hope this helps more.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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