This is my first utilization of a vbscript in a custom action, so please bear with me.

I have a script to kill a certain directory. I want it to run before any files are dropped on the machine. I'm using Admin Studio 6.0.


Should I store it in the Custom Action or as a binary? Where in the sequence should I insert it?
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
Use Custom Action type 38. This allows a VBScript text to be in the 'Target' column of the Custom Action table.

Place the script in the InstallExecuteSequence table before the InstallInitialize action.
Answered 05/20/2005 by: brenthunter2005
Fifth Degree Brown Belt

Please log in to comment
0
and condition it if "NOT Installed"
Answered 05/20/2005 by: bheers
Second Degree Blue Belt

Please log in to comment
0
Concise, prompt, accurate.

Worked great. Thanks guys.
Answered 05/20/2005 by: Bladerun
Green Belt

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