/build/static/layout/Breadcrumb_cap_w.png

how to input scripts

I have a package that requires me to run 3 Vbscripts, but i'm not actually sure where or how i can put this in my package. I need my first Vbscript to run before my package installs any files since my first script copies user configuration files to a temp folder. My 2nd Vbscript is a fix so it has to run after my package is installed and my 3rd Vbscript has to run right after my 2nd since it restores the user configuration files. Can anyone tell me how i can make this work on WPS 5.6 ?

0 Comments   [ + ] Show comments

Answers (2)

Posted by: jmcfadyen 17 years ago
5th Degree Black Belt
0
Today I dropped a post on the wise newsgroups called "InstallationSequences"

have a look at that post as it has a diagram on how the installation is performed. This indications different times that items can be run.

It is very difficult to explain where you should put things but this picture I have posted will help considerably.

There are custom actions which can be run, as a learner I would suggest you use the "msi script" view and from the left hand pane a number of items are available drag one of the .vbs ones across and use that.

timing is however critical thats why you need the diagram of when you do things.

Immediate is generally used when you want to change the behaviour of an installation prior to it happening.

Deferred is more so when you are actually doing the installation.

For example if you want to change a directory of an install Immediate is likely to be the better place to perform this.

If you want to set permissions for example deferred is where it should happen. Deferred is where the installation actually happens.

Get the pic it will explain A LOT.
Posted by: N615 17 years ago
Senior Yellow Belt
0
Where exactly is your post in the Wise forum? I couldnt find it.
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