The MSDN page for IUniformResourceLocator::SetURL details these return
values...

S_OK: The object's URL was set successfully.
E_OUTOFMEMORY: There is not enough memory to complete the operation.
IS_E_EXEC_FAILED: The URL's protocol handler failed to run.
URL_E_INVALID_SYNTAX: The URL's syntax is invalid.
URL_E_UNREGISTERED_PROTOCOL: The URL's protocol does not have a
registered protocol handler.

So I would start with:
Does the customer have a handler for http (for the user that the
installer is running as)?
Does it work? (does Start>Run>http://e3server start a browser?)
Do they have enough memory/disk space to create the shortcut?


-----Original Message-----
From: Chad Petersen [mailto:chad.peter...@harlandfs.com] 
Sent: 31 January 2011 17:36
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] WixCreateInternetShortcuts: Error 0x8000ffff:
failed toset shortcut

WiX version 3.0.5419.0

OK, my installer is working in a huge number of cases without hitting
this error. We released back in November. Today I get a log file from a
customer that doesn't get any on-screen error. The installer just
suddenly rolls back on its own. The verbose log file shows these
entries.

WixCreateInternetShortcuts:  Creating IUniformResourceLocatorW shortcut
'C:\Documents and Settings\All Users\Desktop\Interlinq E3.url' target
'http://E3SERVER:80/E3Container'
WixCreateInternetShortcuts:  Error 0x8000ffff: failed to set shortcut
'C:\Documents and Settings\All Users\Desktop\Interlinq E3.url' target
'http://E3SERVER:80/E3Container'
WixCreateInternetShortcuts:  Error 0x8000ffff: failed to create Internet
shortcut

My code looks like this

<util:InternetShortcut Id="E3DesktopShortcut" Directory="DesktopFolder"
Name="Interlinq E3" Type="url" Target="[TARGET1]" />
<util:InternetShortcut Id="E3DocsDesktopShortcut"
Directory="DesktopFolder" Name="Interlinq E3 Documentation" Type="url"
Target="[TARGET2]" />
<util:InternetShortcut Id="E3StartMenuShortcut"
Directory="INTERLINQE3FOLDER" Name="Interlinq E3" Type="url"
Target="[TARGET1]" />
<util:InternetShortcut Id="E3DocsStartMenuShortcut"
Directory="INTERLINQE3FOLDER" Name="Interlinq E3 Documentation"
Type="url" Target="[TARGET2]" />

The support team made sure they could create shortcuts in C:\Documents
and Settings\All Users\Desktop. I'm not sure how to troubleshoot this
one. Thanks for any ideas?

Chad
                    


------------------------------------------------------------------------
------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better
price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires February
28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to