Join us for SoftSummit 2023. The 20th anniversary of the industry leading software monetization conference. April 18 and 20. Register Now

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

MsiSetTargetPath always return ERROR_DIRECTORY

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
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

0 Kudos