Why can't I launch the installed software from the Bundle? #8749
Unanswered
NJullienSweet
asked this question in
Questions
Replies: 1 comment 1 reply
-
Usually it's the other way around. You have the bundle tell your MSI where to install by passing in a property to the MSI. <MsiPackage ...>
<MsiProperty ...>
</MsiPackage> Ideally you have GUI in the bundle to allow user to select directory and then do above. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a bundle installing two dependencies and my MSI.
In this bundle, I want to get back from the MSI the directory where the the user chose to install the software, but apparently can't.
I tried using the
INSTALLDIR
andInstallFolder
variables in theLaunchTarget
attribute but had no success. I tried writing the default absolute path to the EXE inLaunchTarget
to make sure it is not broken, this worked. I can conclude that the problem appears to be in recovering the user's path choice.I could maybe use some kind of hack to fill a variable with a CustomAction looking for the install folder from the registry, but this seem way too dirty, there must be another fancier way to do so, I hope.
Here is the current state of the Bundle's WXS file.
Do you have any idea of other things to try? The documentation about this is topic very limited and the various samples I found unfortunately did not help me.
Beta Was this translation helpful? Give feedback.
All reactions