How to Set Up Deployment for VBS Custom Action Data
When you develop an application in the Visual Studio development suite, the package has a built-in Windows Installer creation process. The Installer creation can be simplified through a wizard, and then you can further customize the set-up with CustomActionData. CustomActionData draws properties from within your Visual Studio code instead of leaving the default installer options selected. Configuring the CustomActionData within Visual Basic Studio sets it up, ready for deployment.
Instructions
-
-
1
Open your Visual Basic project.
-
2
Insert into a custom action script the following code to invoke the CustomActionData:
msgbox Session.Property("CustomActionData")
-
-
3
Right-click this action script, in the scripts dialog window, and click "Properties."
-
4
Insert into the value the CustomActionData you want to use. For example, to specify a definite installation path, use:
[OriginalDatabase]<>[TARGETDIR]<>[ComputerName]
-
5
Save your document.
-
1