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   [ - ] Hide 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.
Answer this question or Comment on this question for clarity


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.
Answered 03/15/2007 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
Where exactly is your post in the Wise forum? I couldnt find it.
Answered 03/20/2007 by: N615
Senior Yellow Belt

Please log in to comment