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
- :
- SuportDll not in DUPPORTDIR
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
‎Dec 19, 2008
09:54 AM
SuportDll not in DUPPORTDIR
Hi!
Recently we have upgraded from IS 10.5 to 2009, and this made our Basic MSI installer broken :confused:
We keep needed "VTInstallSupp.dll" in support files (language independent) but file is unpacked to directory other than pointed by SUPPORTDIR. It works fine in our previous IS version.
Our code is rather simply (it's simply taken from crappy IS documentation):
...
szDllName = SUPPORTDIR^"VTInstallSupp.dll";
if( UseDLL( szDllName ) != 0 ) then
abort;
endif
....
But SUPPORTDIR points "...\temp\{XXXX}" and dll in unpacked in "...\temp\{YYYY}"...
Recently we have upgraded from IS 10.5 to 2009, and this made our Basic MSI installer broken :confused:
We keep needed "VTInstallSupp.dll" in support files (language independent) but file is unpacked to directory other than pointed by SUPPORTDIR. It works fine in our previous IS version.
Our code is rather simply (it's simply taken from crappy IS documentation):
...
szDllName = SUPPORTDIR^"VTInstallSupp.dll";
if( UseDLL( szDllName ) != 0 ) then
abort;
endif
....
But SUPPORTDIR points "...\temp\{XXXX}" and dll in unpacked in "...\temp\{YYYY}"...
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 19, 2008
10:00 AM
I believe it's related to the new InstallScript architecture introduced in InstallShield 12; please see the help topics "Upgrading InstallShield 11.5 or Earlier Basic MSI Projects that Have InstallScript Custom Actions" and "SUPPORTDIR".
The short version is, you'll need to get the value of the SUPPORTDIR property with MsiGetProperty, and not the SUPPORTDIR variable.
The short version is, you'll need to get the value of the SUPPORTDIR property with MsiGetProperty, and not the SUPPORTDIR variable.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 19, 2008
10:30 AM
RobertDickau wrote:
I believe it's related to the new InstallScript architecture introduced in InstallShield 12; please see the help topics "Upgrading InstallShield 11.5 or Earlier Basic MSI Projects that Have InstallScript Custom Actions" and "SUPPORTDIR".
The short version is, you'll need to get the value of the SUPPORTDIR property with MsiGetProperty, and not the SUPPORTDIR variable.
Yes, it works, thx for help 😄
However "UseDll", "SUPPORTDIR", "Support files" help topics are not changed according to this new behaviour :confused:
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)