Thanks Phil, You were correct the Warning shows up in Application Event Log.

I can now see what the problem is. After install finialise I delete two of
the files that are in my installer from the local drive when I run a
CustomAction. This is whats causing the repair, the two files are missing
(they are not needed anymore after the CustomAction has run).

I've tried setting Vital to no but the installer still wants to repair.

I only need the files for when the CustomAction runs, and don;t want to
leave them behind on the local drive. Whats the best way of doing this
without triggering the repair?

Thanks


Wilson, Phil wrote:
> 
> It's a repair of some kind, or an install of missing components. The event
> log (I forget which) will have MsiInstaller entries naming the component
> that triggered the repair.
> 
> Phil Wilson
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of andywhitt
> Sent: Friday, July 11, 2008 9:44 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Shortcut problem
> 
> 
> I'm having a problem with Wix 3 and my shortcuts. After the install has
> finished when I click my shortcut it starts the MSI First and then my App.
> This never used to happen, what have I done?
> 
> <Component Id="MyComponent" Guid="0xxxxxxxxxxxxxxxxxxxxxxxxxxxx">
> <File Id="MyEXE" Name="My.exe" Source="c:\My.exe" Vital="yes">
>         <Shortcut Id="StartMenuMyApp" Name="MyApp" Icon="MyApp.exe"
> IconIndex="0"
> Directory="ProgramMenuProductDir" WorkingDirectory="PRODUCTLOCATION"
> Advertise="yes"/>
> </File>
> 
> <Feature Id="Complete" Level="1">
>        <MergeRef Id="CRT"/>
> <ComponentRef Id="MyComponent"/>
> </feature>
> <!-- WIX UI -->
> <Property Id="WIXUI_INSTALLDIR" Value="PRODUCTLOCATION"/>
> <UIRef Id="WixUI_InstallDir"/>
> <UIRef Id="WixUI_ErrorProgressText"/>
> 
> If I change advertise to no I get ICE Errors #43 & #57
> 
> Thanks for any help
> --
> View this message in context:
> http://www.nabble.com/Shortcut-problem-tp18407501p18407501.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> 
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Shortcut-problem-tp18407501p18440884.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to