Hi!
I am using Advance Installer version 6.4.1 and building an enterprise project. I have attached a custom action to reset the target dir on "InstallInitialize", i calling: MsiSetTargetPath(hModule,"TARGETDIR", strTargetDir);
but, this function returns ERROR_DIRECTORY, I checked and confirmed that strTargetDir exists at my desired location, but, it is unable to set "TARGETDIR". My operating system is Win-xp with service pack2.
my verbose log shows following lines:
MSI (s) (74!4C) [16:43:11:396]: PROPERTY CHANGE: Modifying Initialising_VB_JAVA_Application_DIR property. Its current value is 'C:\Program Files\xxxxx\xxxxx\........'. Its new value: 'D:\Program Files\xxxxx\xxxxx\........'.
MSI (s) (74!4C) [16:43:11:474]: Note: 1: 2327 2: 32 3: D:\\Program Files\xxxxx\xxxxx\........
MSI (s) (74!4C) [16:43:11:474]: PROPERTY CHANGE: Modifying TARGETDIR property. Its current value is 'D:\Program Files\xxxxx\'. Its new value: 'C:\Program Files\xxxxxx\'.
MSI (s) (74!4C) [16:43:11:474]: PROPERTY CHANGE: Modifying APPDIR property. Its current value is 'D:\Program Files\xxxxx\'. Its new value: 'C:\Program Files\xxxxx\'.
Thanks in advance for your help.
Regards,
Vicky
FOLLOW US
Get the latest news in Application Packaging