You want to ignore the /uninstall flag and just run the MSI as normal. That way your UI will be brought up and then you can start presenting your own dialogs. Also, I notice the shortcut is based on a SystemFolder variable you're passing in. This means the shortcut is created on someone else's computer using the path to your System Folder, not theirs. You might want to look at the SystemFolder property.
http://msdn2.microsoft.com/en-us/library/aa372057.aspx Rob nareshkrishnakumar kulothungan wrote: > Hi, > > I am creating a short cut for Uninstall option in WIX. I am able to > uninstall my tool. But when I uninstall I get Windows Installer message > box stating "Are you sure you want to uninstall this project?" with > Message Title as Windows Installer and no icon adjacent to the message. > How to customize the Uninstall option using Dialog or Custom action? > Kindly guide me how to go about as I am new to Windows Installer XML. > Thanks in advance. > > <?xml version='1.0' encoding='Windows-1252'?> > <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> > <Product Name="$(var.ProductName)" Manufacturer="$(var.Manufacturer)" > Version="$(var.Version)" Language="1033" > Id="$(var.GUIDProduct)" UpgradeCode="$(var.GUIDUpgrade)"> > > <Package Id="????????-????-????-????-????????????" > Manufacturer="$(var.Manufacturer)" > Description="$(var.Description)" Comments="$(var.Comments)" > Compressed="yes" InstallerVersion="200" > Languages="1033" ShortNames="no" SummaryCodepage="1252" /> > <!-- Media --> > <Media Id="1" EmbedCab="yes" Cabinet="cis.cab" /> > <!-- Icons --> > <Icon Id="folder.ico" src="binary\folder.ico" /> > <Icon Id="arp.ico" src="binary\arp.ico" /> > > <?include .\Include.wxi ?> > <!-- Directories --> > <Directory Id="TARGETDIR" Name="SourceDir"> > <Directory Id="$(var.InstallPath)" Name="PFiles"> > <Directory Id="INSTALLDIR" Name="$(var.InstallDirShort)" > LongName="$(var.InstallDir)"> > <!-- <?include components.wxi ?> --> > <!-- <?include registry.wxi ?> --> > <Component Id="Com1" Guid="YourGuid-5709-47e9-9E33-898A62954B78" > KeyPath="yes"> > <CreateFolder /> > *<Shortcut Id="Shortcut2" Directory="ProgramMenuDir" Name="UNINSTAL" > LongName="Uninstall My Tool" Target="$(var.SystemFolder)MSIEXEC.EXE" > Arguments="/Uninstall [ProductCode]" Icon="Remove.ico" />* > </Product> > </Wix> > > ------------------------------------------------------------------------ > Got a little couch potato? > Check out fun summer activities for kids. > <http://us.rd.yahoo.com/evt=48248/*http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz> > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users