[wix-users] WixShellExecTarget with Value="[#myapp.exe]" keeps unresolved

Yuri Tkachenko yuri at yandex.ua
Mon Jun 6 10:35:52 PDT 2016


<File>-list is generated and I think id's aer generated too:
https://github.com/ubergrape/grape-electron/blob/master/tasks/release/windows.js#L91

so when I looked into this file I see id's like this:

```
<Component Id="cmp3A9BE3471F1E3EB4DAFEB6D2B235E51C" Guid="53B81184-CA72-4C50-8853-536134FCB888">
	<File Id="fil2121EFDAB0FA66BA1202EA011B1F0340" KeyPath="yes" Source="C:\grape-electron\tmp\grape\Grape.exe" />
</Component>

```

not sure I can safely use them.

any ideas?


> On Jun 6, 2016, at 20:25, John Cooper <JoCooper at jackhenry.com> wrote:
> 
> Definitely File at Id.
> 
> --
> John Merryweather Cooper
> Senior Software Engineer | Integration Development Group | Enterprise Notification Service
> Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 |JoCooper at jackhenry.com
> 
> 
> 
> 
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of John Cooper
> Sent: Monday, June 6, 2016 12:24 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] WixShellExecTarget with Value="[#myapp.exe]" keeps unresolved
> 
> The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.
> 
> May be File at Id.  It's been awhile.
> 
> --
> John Merryweather Cooper
> Senior Software Engineer | Integration Development Group | Enterprise Notification Service Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 |JoCooper at jackhenry.com
> 
> 
> 
> 
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of John Cooper
> Sent: Monday, June 6, 2016 12:21 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] WixShellExecTarget with Value="[#myapp.exe]" keeps unresolved
> 
> The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.
> 
> What is the Component at Id for Grape.exe?  Use this in the square brackets with the sharp and it should work.
> 
> --
> John Merryweather Cooper
> Senior Software Engineer | Integration Development Group | Enterprise Notification Service Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 |JoCooper at jackhenry.com
> 
> 
> 
> 
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Yuri Tkachenko
> Sent: Monday, June 6, 2016 12:11 PM
> To: wix-users at lists.wixtoolset.org
> Subject: [wix-users] WixShellExecTarget with Value="[#myapp.exe]" keeps unresolved
> 
> The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.
> 
> Hi!
> I am trying to adopt this guide: http://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/run_program_after_install.html
> 
> and ended up with
> https://github.com/ubergrape/grape-electron/blob/master/resources/windows/installer.wxl#L106-L111
> 
> However the `[#$(var.exeName)]` keeps beeing unresolved.
> here is string from logfile:
> `Property(S): WixShellExecTarget = [#Grape.exe]`
> 
> and if I explicitly write down
> `<Property Id="WixShellExecTarget" Value="С:\Program Files\Grape\Grape.exe" />` and of course don't change path while installing, I could launch app after install. 
> 
> Why this `[#$(var.exeName)]` resolves into [#Grape.exe] but not into full path? 
> Full config https://github.com/ubergrape/grape-electron/blob/master/resources/windows/installer.wxl
> 
> Thanks.
> 
> 
> 
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
> NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information.
> Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies.
> 
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
> NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information.
> Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies.
> 
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
> NOTICE: This electronic mail message and any files transmitted with it are intended
> exclusively for the individual or entity to which it is addressed. The message, 
> together with any attachment, may contain confidential and/or privileged information.
> Any unauthorized review, use, printing, saving, copying, disclosure or distribution 
> is strictly prohibited. If you have received this message in error, please 
> immediately advise the sender by reply email and delete all copies.
> 
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list