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

Use support files on custom action

property SUPPORTFILES is empty.

Labels (1)
0 Kudos
(4) Replies
varul
Revenera Moderator Revenera Moderator
Revenera Moderator

Could you please explain what you are trying to do,

 

please try the below installscirpt code and see it works or not.

 

function MyFunction(hMSI)
STRING sMySUPPORTDIR;
NUMBER nvBufferSize;
begin

nvBufferSize = 256;
MsiGetProperty(hMSI,"SUPPORTDIR",sMySUPPORTDIR,nvBufferSize);

MessageBox("SUPPORTDIR = " + sMySUPPORTDIR, INFORMATION);

end;

0 Kudos

Is it a VBS script?
0 Kudos
shunt
Revenera Moderator Revenera Moderator
Revenera Moderator

I believe that the setup files are available after the ISSetupFilesExtract action until ISSetupFilesCleanup, so try adding your custom action between these 2 actions in the sequence.

Alternatively it may be better to use the Binary Table when adding a custom action to store the file.

 

0 Kudos

Thx shunt!
What is the best approach to use some jar file in the validation stage? As I understand put to Binary Table?

0 Kudos