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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 13, 2021
05:39 AM
Use support files on custom action
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎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;
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 13, 2021
07:48 AM
Is it a VBS script?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎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?
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)