cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jmartin
Level 3

MsiSetTargetPath always return ERROR_DIRECTORY

Hi
I had and InstallShield Developer 7 project which has a call to MsiSetTargetPath in a Custom Action (dll). It worked well but when I have changed to InstallShield 2008, now it does’nt work.

The error it returns is ERROR_DIRECTORY (but the directory I change is in the directory table!!) :mad:

The custom action is placed in Excute secuence, after CostFinalize (I have tested in several places and always with the same result)


I can’t understand why with Developer 7 it run ok and now it broken !! :confused:


Thanks in advance
Labels (1)
0 Kudos
(1) Reply
jmartin
Level 3

Ok, the solution was init a property with the same name that the directory at the begining of the UI, then the MsiSetTargetPath was ok

:confused:
0 Kudos