![]() ![]() We’ll illustrate this CustomActionData idea with a simple VBScript custom action. Remember that the properties can be standard Windows Installer properties (TARGETDIR, VersionNT and so on), or properties that you created yourself, perhaps by using Search Target Machine as we saw in the previous article. ![]() This is a common theme in the examples that follow. To pass data into your custom-action code in Visual Studio setup projects, for example, you set the CustomActionData property to the data you want to pass into the custom action, and in your code you retrieve the CustomActionData property that contains the data. To understand the use of custom actions, it’s important to know how to use Windows Installer properties, and in particular the CustomActionData property. (You can download the code examples to go with this article using the link to the right of the title.) Properties and CustomActionData Examples of standard actions include copying files and registering COM servers. Custom actions are in contrast to the standard actions that Windows Installer performs during an installation. It’s often necessary to add your own code to a Visual Studio setup project, which is accomplished using custom actions. This article describes the kinds of custom actions that can be used in your Visual Studio setup project. Second in a series on Visual Studio setup. Visual Studio Setup - projects and custom actions - Simple Talk ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |