Deployment of external payload with wix bundle

654 Views Asked by At

We are using Wix to deploy our application. But for deploying our application we need to first deploy an application which is a prerequisite for our application. And the setup for that application is available to us as an external payload which we will be shipping along with our application setup. Fig 1: this .exe is the main wix bundle we will be using to install our application. And the setup of prerequisite is inside the folder ”issetupprerequisites”.

Fig 1: this .exe is the main wix bundle we will be using to install our application. And the setup of prerequisite is inside the folder ”issetupprerequisites\{9BA97839-8D57-467D-8FDF-487966F8A4C2}”.

enter image description here

Fig 2: this is the setup.exe which we are shipping with our product which needs to be installed as a pre-requisite to our product.

But the problem we are facing is to give the path for that pre- requisite application exe , since that path will be a relative path because different user will be installing it from different location.

We decided to use a variable called [WixBundleOriginalSourceFolder] but are unable to use that.

enter image description here

Fig 3: Giving the path for that exe in this way so that we can install the external payload from our wix bundle on any machine , but failing to do so since path is not recognized.

enter image description here Fig 4: giving this error.

Please guide us on how to give the path for that external payload exe so that it works on all the machines without any issues.

NOTE: we are using wix version 3.10 for our project.

1

There are 1 best solutions below

4
Sean Hall On

Payload/@Name is not a formatted value, so you're specifying that there is a folder literally named [InstallFolder]. It should work if you just use issetupprerequisites\{9BA97839-8D57-467D-8FDF-487966F8A4C2}\setup.exe.