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
- :
- Re: Use support files on custom action
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Apr 13, 2021
05:39 AM
Use support files on custom action
(4) Replies
Apr 13, 2021
07:21 AM
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;
Apr 13, 2021
07:48 AM
Is it a VBS script?
Apr 13, 2021
07:24 AM
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.
Apr 13, 2021
07:45 AM
Thx shunt!
What is the best approach to use some jar file in the validation stage? As I understand put to Binary Table?