In my case, the shortcuts are merely informative so an administrator can know where the website is.
So what is the dependency inside the custom action code? How would one go about writing an appsearch to detect the missing resource scenario that causes the CA to throw an error? I haven't tried this yet, but if I use the MSI standard action for creating shortcuts in this scenario, does it also throw an error or does it fail gracefully and skip through? ---------------------------------------- From: aivan...@vmware.com Sent: Tuesday, July 24, 2012 10:19 AM To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Subject: Re: [WiX-users] WiX Internet ShortCuts Error It is more complicated than just Server Core. In Windows Server 2012 full install you still gave the ability to disable GUI features, on which case Internet shortcuts (and any other installer feature that requires full GUI) will fail. I do not believe that checks for such OS capabilities should be built in. Only your application knows what kind of OS capabilities it needs. Sent from my iPhone On Jul 24, 2012, at 8:44, "Christopher Painter" <chr...@iswix.com> wrote: > I later tested on a full SKU of 8 and it worked. If I took out the shortcuts, the install succeeded and my clients application worked. > > I probably can put conditions on the component that references the shortcut, but should I have to? It seems like the extensions costing pattern should realize when it won't be able to create the shortcut or otherwise handle the error. > > ---------------------------------------- > From: "Rob Mensching" <r...@robmensching.com> > Sent: Monday, July 23, 2012 6:38 PM > To: chr...@iswix.com, "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> > Subject: Re: [WiX-users] WiX Internet ShortCuts Error > > Never tried, but I think there is no Explorer on Win8 Core so it would not surprise me if related functionality failed. > On Sat, Jul 21, 2012 at 2:05 PM, Christopher Painter <chr...@iswix.com> wrote: > Has the internet shortcut extension been tested on Server 8 Core? > > I have an installer that works on Server 2003 / Server 2008 R2 but fails on 8 Core. Don't know if it's because of 8 or because of Core but I'm guessing the latter. > > MSI (s) (20:74) [13:59:40:524]: Executing op: ActionStart(Name=WixCreateInternetShortcuts,,) > Action 13:59:40: WixCreateInternetShortcuts. > MSI (s) (20:74) [13:59:40:524]: Executing op: CustomActionSchedule(Action=WixCreateInternetShortcuts,ActionType=3073,Sourc e=BinaryData,Target=WixCreateInternetShortcuts,CustomActionData=C:\ProgramDa ta\Microsoft\Windows\Start Menu\Programs\ABC\Enterprise Framework\Enterprise Framework Website.url?http://TESTVM/EF40/Web/Main.aspx?1?C:\ProgramData\Microsoft\Wind ows\Start Menu\Programs\ABC\Enterprise Framework\Enterprise Framework Web Service.url?http://TESTVM/EF40/WebSvc/enterprisedata.asmx?1) > MSI (s) (20:48) [13:59:40:524]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIFC00.tmp, Entrypoint: WixCreateInternetShortcuts > WixCreateInternetShortcuts: Entering WixCreateInternetShortcuts in C:\Windows\Installer\MSIFC00.tmp, version 3.5.2519.0 > WixCreateInternetShortcuts: Creating IUniformResourceLocatorW shortcut 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ABC\Enterprise Framework\Enterprise Framework Website.url' target 'http://TESTVM/EF40/Web/Main..aspx' > WixCreateInternetShortcuts: Error 0x80040154: failed to create an instance of IUniformResourceLocatorW > WixCreateInternetShortcuts: Error 0x80040154: failed to create Internet shortcut > > ---------------------------------------------------------------------------- -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- > virtually, > Rob Mensching http://RobMensching.com LLC > > > ---------------------------------------------------------------------------- -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users