How can I pass the installation directory info to the custom action exe?
Question
How can I pass the installation directory info to the custom action exe?
Answer
See MSDN Topics:
Changing the Target Location for a Directory [Windows Installer]
MsiSetTargetPath(MSIHANDLE,LPCTSTR,LPCTSTR) function [Windows Installer]
TARGETDIR property [Windows Installer]
Using the Directory Table [Windows Installer]
Specifying Directory Structure [Windows Installer]
Working with Folder Locations [Windows Installer]
Custom Action Type 35 [Windows Installer]
Custom Action Type 51 [Windows Installer]
[Author: Robert Flaming]
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at https://www.microsoft.com/info/cpyright.htm.
Comments
- Anonymous
September 29, 2005
Is this the same for if you are wishing to deploy through group policy? I have an application which runs a number of custom actions to create and copy files depending on the values entered at install. These values are not being carried through and the files are not being created. Does the installation directory need to be physically set for the files to be installed in the right place ? - Anonymous
September 29, 2005
Is this the same for if you are wishing to deploy through group policy? I have an application which runs a number of custom actions to create and copy files depending on the values entered at install. These values are not being carried through and the files are not being created. Does the installation directory need to be physically set for the files to be installed in the right place ?