[wix-users] Problem with launched application
Packer, David
David.Packer at nuance.com
Wed Jan 11 10:25:47 PST 2017
Sorry, I forgot to include it before:
<CustomAction Id="LaunchFile" FileKey="file_Configurator" ExeCommand="" Return="asyncNoWait" />
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Collin Perschon
Sent: January-11-17 1:22 PM
To: WiX Toolset Users Mailing List
Subject: [EXTERNAL] Re: [wix-users] Problem with launched application
What does your custom action look like (the one that launches the application)?
The working directory is probably a temp folder where the custom action is running from.
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Packer, David
Sent: Wednesday, January 11, 2017 11:19 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Problem with launched application
I suspect this is the cause. Is there a way to launch the application from its proper directory? Can I change the working directory?
Thanks!
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Collin Perschon
Sent: January-11-17 12:59 PM
To: WiX Toolset Users Mailing List
Subject: [EXTERNAL] Re: [wix-users] Problem with launched application
My guess would be that when you are launching the application after the installation, your working directory is probably set to the MSI location. This would mess up any relative paths (relative to the executable you are launching). Then when you close the application and launch it, the working directory is set to where the application has been installed and all the relative paths will work.
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Packer, David
Sent: Wednesday, January 11, 2017 10:29 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Problem with launched application
I am new to the WiX installer, so please bear with me if this is an obvious question.
I am having a problem when I launch my application after the installation. It cannot see one of the directories that was created during the installation.
I have the following in my installer:
<InstallExecuteSequence>
<Custom Action="LaunchFile" After="InstallFinalize">NOT Installed</Custom>
</InstallExecuteSequence>
The application launches correctly and the msi quits.
I am using this to complete configuration, once the application is installed. But a directory (created during the install) does not appear to be visible to the program. The directory in question contains template files, which are consumed by the installed application. If I quit the application, then re-launch it, everything works correctly, so I know that everything was installed in the correct place. It just does not recognize the directory when launched from the msi file.
Any help would be appreciated!
David Packer
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DgICAg&c=djjh8EKwHtOepW4Bjau0lKhLlu-DxM1dlgP0rrLsOzY&r=jMoihYbWn2AJo43U4spz1JZFL9LDk3dUF3hBziQpclg&m=lBggKrFofzfQ307qBKlTn7-W9Fd8P71iB6jJnsIWe3I&s=gB3fxdp2WA1BRWuPD6lbukSPiKXXTBRf0IzZNlH7FLY&e=
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DgICAg&c=djjh8EKwHtOepW4Bjau0lKhLlu-DxM1dlgP0rrLsOzY&r=jMoihYbWn2AJo43U4spz1JZFL9LDk3dUF3hBziQpclg&m=lBggKrFofzfQ307qBKlTn7-W9Fd8P71iB6jJnsIWe3I&s=gB3fxdp2WA1BRWuPD6lbukSPiKXXTBRf0IzZNlH7FLY&e=
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DgICAg&c=djjh8EKwHtOepW4Bjau0lKhLlu-DxM1dlgP0rrLsOzY&r=jMoihYbWn2AJo43U4spz1JZFL9LDk3dUF3hBziQpclg&m=JZOnsteBaYm8hM_WSXj4mT2lrln-r_SgR3_ULK2v_1c&s=nxKjxByv6S9vbepmQ4wkiiByagz1_Pi_HGEPxvYD4fE&e=
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DgICAg&c=djjh8EKwHtOepW4Bjau0lKhLlu-DxM1dlgP0rrLsOzY&r=jMoihYbWn2AJo43U4spz1JZFL9LDk3dUF3hBziQpclg&m=JZOnsteBaYm8hM_WSXj4mT2lrln-r_SgR3_ULK2v_1c&s=nxKjxByv6S9vbepmQ4wkiiByagz1_Pi_HGEPxvYD4fE&e=
More information about the wix-users
mailing list