These comments are for your reference only and are not displayed to end users. Specify whether you want the Windows Installer to ignore the return value of this custom action and continue the installation, uninstallation, or maintenance.Įnter comments about this custom action. If you select No, the installation, uninstallation, or maintenance continues while your custom action runs. Specify whether you want the installation, uninstallation, or maintenance to wait until the custom action exists before proceeding with the rest of the installation. For example, if you add a custom action under After Initialization (before first dialog), the action will be scheduled for immediate execution it cannot be scheduled for deferred, rollback, or commit execution. Note that this setting does not apply to some sequences. For detailed information about each option, see Action Execution Options. Select the iteration of the sequence that should trigger the selected custom action. The MSIHANDLE data type that is used in the function signature is a handle to the running installation. The function name can vary however, the return type, calling convention, and single parameter must use the types that are specified in the aforementioned signature. UINT _stdcall FunctionName (MSIHANDLE hInstall) Note that the function must be defined with the following signature: Files that are installed on the target system are launched from their destination on the target system.Įnter the name of the entry-point function that you want to call from your Windows Installer DLL. If you selected Installed with the Product in the Source Location setting, click the ellipsis button (.) in the File Name setting to browse for the file from the list of files that have already been added to your project through the Files view. Although the custom action is run during installation, the file is removed following installation. When you build your installation, this file is automatically incorporated into your installation. If you selected Browse File System in the Source Location setting, click the ellipsis button (.) in the File Name setting to browse to the DLL file that you want to use for the custom action. For example, if you schedule the custom action for the Before File Transfer part of the installation-which occurs before the file has been installed on the target system-the Installed with the Product option is not available. Installed with the Product-The file will be installed on the target system.ĭepending on which part of the installation, uninstallation, or maintenance you schedule the custom action, this option may not be available.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |