cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
22636076
Level 4

Cannot find file in SUPPORTDIR when using setup/a

Hi all,
I wrote the same script in function OnFirstUIBefore() and OnAdminInstallUIBefore().
And put a license file in the SUPPORTDIR.
When I run setup, the license file can be found in SUPPORTDIR.
But when i run setup in cmdline with parameter /a, the lecense file cannot be found.
Anyone encounter this problem?
Labels (1)
0 Kudos
(1) Reply
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

During administrative installs the ISSetupFilesExtract custom action is not run, so support files will not be available. In general, an administrative install is only intended to copy the files necessary to install the MSI package to the admin install point, so custom actions are not sequenced in the admin sequences.

You should be able to sequence the ISSetupFilesExtract action in the AdminUISequence in the Sequences view to get the action to run in an admin install.
0 Kudos