> Date: Thu, 31 Aug 2006 10:32:18 -0400 > From: "Roy Abou Assaly" <[EMAIL PROTECTED]> > Subject: [WiX-users] Launching program after installation completen > give occassional error. > > I don't know if this is my fault or not. At the end of tte > installation, we have a checkbox which is by default "on", such that > when the user clicks 'Finish', the program that he just installed, > launches. I *sometimes* get the following error in my Application > eventlog in the following chronological order: > > FIRST (ERROR): > ------------------------ > Product: FOO.NET Development -- The installer has encountered an > unexpected error installing this package. This may indicate a problem > with this package. The error code is 2753. The arguments are: file58, > , > > SECOND (WARNING): > --------------------------------- > Detection of product '{CC30DEFD-A923-419C-A20C-77C9621BF6FD}', feature > 'DefaultFeature', component '{FE33C480-C05B-40A0-BF9C-A196CDE97544}' > failed. The resource 'C:\Program Files\My Application\FOO.NET > Development\FOO.NET.Development.exe' does not exist. > > THIRD (WARNING): > ----------------------------- > Detection of product '{CC30DEFD-A923-419C-A20C-77C9621BF6FD}', feature > 'DefaultFeature' failed during request for component > '{FE33C480-C05B-40A0-BF9C-A196CDE97544}' > > > The WiX XML is the following: > > DECLARATION: > ----------------------- > > <Component Id="component58" > Guid="FE33C480-C05B-40A0-BF9C-A196CDE97544" DiskId="1"> > <File Id="file58" Name="foo.exe" > LongName="FOO.NET.Development.exe" src="FOO.NET.Development.exe" > KeyPath="yes"> > <Shortcut Id="ProgramShortcut" > Directory="ProgramMenuDir" Name="FOO.NET" LongName="FOO.NET > Development" Target="DefaultFeature" Show="normal" > WorkingDirectory="INSTALLDIR" /> > </File> > </Component> > > > UI: > ---- > .... > <Control Id="Launch" Type="CheckBox" X="140" Y="120" > Width="10" Height="10" Property="LAUNCHPRODUCT" CheckBoxValue="1"> > </Control> > <Control Id="LaunchText" Type="Text" X="154" Y="120" > Width="220" Height="20" Transparent="yes" NoPrefix="yes"> > <Text>Launch <![CDATA[[ProductName] [ProductVersion]]]></Text> > </Control> > </Dialog> > </UI> > > BACKEND: > ---------------- > > <CustomAction Id="LaunchFile" FileKey="file58" ExeCommand="" > Return="asyncNoWait" /> > <InstallUISequence> > <Show Dialog="ProgressDlg" After="MigrateFeatureStates" /> > <Show Dialog="ExitDlg" OnExit="success">NOT Installed</Show> > </InstallUISequence> > <InstallExecuteSequence> > <RemoveExistingProducts > Before="InstallValidate"><![CDATA[PREVIOUSVERSIONFOUND]]></RemoveExistingProducts> > </InstallExecuteSequence> > > > Any help would be greatly appreciated. And like I said, it's like 1/5 > odds that we get this error. I simply click "OK" on the error, and > launch the program manually, at which point, the MSI GUI with only the > progress bar comes, does something, and then program launches and > everyone lives happily ever after...until then next autoupdated is > detected. > > Roy
So nobody sees anything wrong there? How about the BACKEND portion. Does the squence contain anything fishy? Again, this is an intermittent bug. Roy ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users