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

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.

Answers

0
check this out. There are several custom actions capable of running a vbscript.
Answered 04/04/2006 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
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!
Answered 04/05/2006 by: wd40
Orange Senior Belt

Please log in to comment
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.
Answered 04/05/2006 by: aogilmor
Ninth Degree Black Belt

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