cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mtutak
Level 2

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}"...
Labels (1)
0 Kudos
2 Replies
RobertDickau
Flexera Alumni

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.
0 Kudos
mtutak
Level 2

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:
0 Kudos