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
- :
- Supportdir files
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Sep 26, 2012
10:30 AM
Supportdir files
Hello
I have a problem with the supportdir. I have an installer that the first thing that must to do is execute a file that is under supportdir option. Only in a machine, with an special characteristics, we have a problem, when the setup descompress the files that are in supportdir, this files don't appear in the temp folder.
I compared the "Temp" folder in a machine that all is ok with the other one that not. In the machine that all is ok I can see that in the temp folder appears this files:
- setup.exe, setup.inx, string1033.txt, _isres_0x040a.ini, _isuser_0x040a.ini, ISRT.dll, myfile.dll
And in the machine that happen the error are all files except "myfile.dll".
Someone know what may be happening, which is what this machine can have for not copy the file?
Thanks
I have a problem with the supportdir. I have an installer that the first thing that must to do is execute a file that is under supportdir option. Only in a machine, with an special characteristics, we have a problem, when the setup descompress the files that are in supportdir, this files don't appear in the temp folder.
I compared the "Temp" folder in a machine that all is ok with the other one that not. In the machine that all is ok I can see that in the temp folder appears this files:
- setup.exe, setup.inx, string1033.txt, _isres_0x040a.ini, _isuser_0x040a.ini, ISRT.dll, myfile.dll
And in the machine that happen the error are all files except "myfile.dll".
Someone know what may be happening, which is what this machine can have for not copy the file?
Thanks
(2) Replies
‎Sep 26, 2012
02:15 PM
You have to make sure that your Custom Action obtains the support dir like this:
MsiGetProperty(hMSI, "SUPPORTDIR", supportDirPath, nLength);
This is the only way to get the correct supportdir path:
http://helpnet.flexerasoftware.com/installshield18helplib/FAQCustomActionsSupportdir.htm
MsiGetProperty(hMSI, "SUPPORTDIR", supportDirPath, nLength);
This is the only way to get the correct supportdir path:
http://helpnet.flexerasoftware.com/installshield18helplib/FAQCustomActionsSupportdir.htm
‎Sep 27, 2012
06:49 AM
Thanks for your reply.
The thing is that this only happend in one machine, in others works ok.
I think that the problem is in the machine, but I would like know any reason for this behavior.:confused:
Some suggestion?
The thing is that this only happend in one machine, in others works ok.
I think that the problem is in the machine, but I would like know any reason for this behavior.:confused:
Some suggestion?