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

Install app files to location of install package?

I've been asked to install my application's files to the same directory as where the install package reside when executed.

Is this possible? I don't see any options for something like this in the "Predefined Folder" list.

Thanks in advance.
Labels (1)
0 Kudos
(2) Replies
alexsd11
Level 2

I forgot to mention this is a silent install, so no user interaction will occur.

Just need to install exactly where being called from.
0 Kudos
Nick_Umanski
Level 7

You could use a Set Property custom action to set INSTALLDIR to SETUPEXEDIR, this will only work for an MSI wrapped in a Setup.exe. Run this CA after AppSearch in your execute sequence.

If it is a raw MSI use SOURCEDIR, but you will need to add a built in CA "ResolveSource" to your execute sequence before SOURCEDIR is populated.
0 Kudos