[wix-users] Application short cuts not being created
Hoover, Jacob
Jacob.Hoover at greenheck.com
Tue Jul 16 09:52:03 PDT 2019
Not sure if it matters, but when I create shortcuts I use the [!Id] Authoring for the Target (where Id is the /File at Id of the installed exe). I also don't see any mention of APPLICATIONROOTDIRECTORY in the log, so I would verify that that is correct.
When you build your MSI, are you getting any ICE warnings or have any of them suppressed?
-----Original Message-----
From: Palomba, Anthony [mailto:Anthony.Palomba at nttdata.com]
Sent: Tuesday, July 16, 2019 10:50 AM
To: Hoover, Jacob <Jacob.Hoover at greenheck.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>; duggal_sunny at yahoo.com
Subject: RE: [wix-users] Application short cuts not being created
Hey Jacob,
Thanks for your assistance with this. From the log, it looks like it is trying to create it. I am not sure what my shortcut authoring looks like, but I can not seem to find the link any where on my system. I am running Win10.
Here is the Wix xml that generated these actions...
<Directory Id="ProgramMenuFolder" SourceName="Programs">
<Directory Id="ApplicationProgramsFolder" Name="Bridge Geometry System (BGS)">
<Component Id="ApplicationShortcut" Guid="a8b18d4c-9def-476b-aec2-73768d72859b">
<Shortcut Id="ApplicationStartMenuShortcut" Name="BGS" Description="Run BGS" Target="bgs.exe" WorkingDirectory="APPLICATIONROOTDIRECTORY"/>
<RemoveFolder Id="CleanUpShortCut" Directory="ApplicationProgramsFolder" On="uninstall"/>
<RegistryValue Root="HKCU" Key="Software\TxDOT\BGS" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
</Component>
</Directory>
</Directory>
Anthony
-----Original Message-----
From: Hoover, Jacob [mailto:Jacob.Hoover at greenheck.com]
Sent: Monday, July 15, 2019 4:43 PM
To: Palomba, Anthony <Anthony.Palomba at nttdata.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>; duggal_sunny at yahoo.com
Subject: RE: [wix-users] Application short cuts not being created
MSI (s) (C8:7C) [12:27:31:580]: Component: ApplicationShortcut; Installed: Absent; Request: Local; Action: Local
MSI (s) (C8:7C) [12:27:31:580]: Component: __ApplicationShortcut65; Installed: Null; Request: Local; Action: Local
MSI (s) (C8:7C) [12:27:31:652]: Doing action: CreateShortcuts MSI (s) (C8:7C) [12:27:31:652]: Note: 1: 2205 2: 3: ActionText Action start 12:27:31: CreateShortcuts.
MSI (s) (C8:7C) [12:27:31:653]: Note: 1: 2205 2: 3: Icon MSI (s) (C8:7C) [12:27:31:653]: Note: 1: 2228 2: 3: Icon 4: SELECT `Name`, `Data` FROM `Icon` MSI (s) (C8:7C) [12:27:31:653]: Note: 1: 2205 2: 3: MsiShortcutProperty MSI (s) (C8:7C) [12:27:31:653]: Note: 1: 2205 2: 3: MsiShortcutProperty Action ended 12:27:31: CreateShortcuts. Return value 1.
MSI (s) (C8:7C) [12:27:31:876]: Executing op: ActionStart(Name=CreateShortcuts,Description=Creating shortcuts,Template=Shortcut: [1]) MSI (s) (C8:7C) [12:27:31:877]: Executing op: SetTargetFolder(Folder=2\Bridge Geometry System (BGS)\) MSI (s) (C8:7C) [12:27:31:879]: SHELL32::SHGetFolderPath returned: C:\Users\185670\AppData\Roaming\Microsoft\Windows\Start Menu\Programs MSI (s) (C8:7C) [12:27:31:879]: Executing op: ActionStart(Name=WriteRegistryValues,Description=Writing system registry values,Template=Key: [1], Name: [2], Value: [3])
What does your shortcut authoring look like?
-----Original Message-----
From: Palomba, Anthony [mailto:Anthony.Palomba at nttdata.com]
Sent: Monday, July 15, 2019 4:21 PM
To: Hoover, Jacob <Jacob.Hoover at greenheck.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>; duggal_sunny at yahoo.com
Subject: RE: [wix-users] Application short cuts not being created
Well it looks like it is present in Orca, see attached screen shot.
But there seems to be no trace of it in the MSI log file, also attached.
Anthony
-----Original Message-----
From: Hoover, Jacob [mailto:Jacob.Hoover at greenheck.com]
Sent: Monday, July 15, 2019 2:37 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>; duggal_sunny at yahoo.com
Cc: Palomba, Anthony <Anthony.Palomba at nttdata.com>
Subject: RE: [wix-users] Application short cuts not being created
Verify your authoring. Inspect the MSI with Orca to see if the shortcut is included (did you include the right fragment).
If it is, then uninstall and reinstall your MSI from the command line w/ Verbose logging enabled (/l*v .\Install.log).
If it isn't, then recheck your authoring.
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Palomba, Anthony via wix-users
Sent: Monday, July 15, 2019 2:23 PM
To: duggal_sunny at yahoo.com; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Palomba, Anthony <Anthony.Palomba at nttdata.com>
Subject: Re: [wix-users] Application short cuts not being created
I am running on Win10.
Anthony
-----Original Message-----
From: duggal_sunny at yahoo.com [mailto:duggal_sunny at yahoo.com]
Sent: Monday, July 15, 2019 11:33 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Palomba, Anthony <Anthony.Palomba at nttdata.com>
Subject: Re: [wix-users] Application short cuts not being created
What os?
Sent from my iPhone
> On Jul 15, 2019, at 9:30 AM, Palomba, Anthony via wix-users <wix-users at lists.wixtoolset.org> wrote:
>
> Hey folks,
>
> I have a WIX installer up and running but it is not creating any application links in the start menu. I cannot figure out what they problem is. Candle and light do not generate any errors when I compile and link the wix xml.
>
> Is there a way I can generate a log file that will tell me why it is not installing the program shortcuts? Is there a way to use Orca to debug this issue?
>
> Any help would be appreciated.
>
>
>
> Thanks,
> Anthony
> Disclaimer: This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding.
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
Disclaimer: This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding.
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.
Disclaimer: This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding.
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.
Disclaimer: This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding.
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.
More information about the wix-users
mailing list