This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- MsiSetTargetPath always return ERROR_DIRECTORY
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 03, 2008
03:54 AM
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
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
1 Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 06, 2008
07:30 AM
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:
:confused:
