Notice in the CustomActionData that we are placing a /TEST=. This tells the MSI project to run any installer classes that is in the MySampleAssembly assembly.įinally, choose the properties of the custom action and modify the properties as shown below. Navigate to the assembly we just added to the installer class and click ok as shown here. #Adding custom actions to advanced installer installHighlight the install folder and right click on the folder and choose Add Custom Action as shown below. Next choose the View / Editor / Custom Actions menu item, this will bring up the custom action dialog menu as shown below. Navigate to the MySampleApp assembly we just made and add it to the msi project.ġ0. Right click on the application folder and choose add/File as shown below. Go back to the MSI project we were working on earlier and click on the View/Editor/File System, which will bring up the file system editor in the msi project. We now need to add this newly compiled assembly to our MSI project that we were working on earlier. This does nothing but get a value from the parameter named "TEST" and put it into the eventlog.įor the sake of simplicity leave all the other classes in the MySampleApp assembly alone and compile the assembly.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |