[WiX-users] WiX / WI single file size limit?

2007-07-24 Thread Man, Shirley
Hi there,

One of our data files is about 3.5 GB uncompressed and light.exe crashes
with the following exception.
The MSI builds fine if I exclude the huge file. Is this a WiX or Windows
Installer limit? If it comes from Wix, is there a workaround?

I am using Windows Installer Xml Linker version 3.0.2925.0.

Linking culture en-us ...
light.exe : error LGHT0001 : Value was either too large or too small for
an Int32.

Exception Type: System.OverflowException

Stack Trace:
   at System.Convert.ToInt32(Int64 value)
   at System.Int64.System.IConvertible.ToInt32(IFormatProvider provider)
   at System.Convert.ToInt32(Object value, IFormatProvider provider)
   at
Microsoft.Tools.WindowsInstallerXml.Binder.UpdateFileInformation(Output
output, FileRowCollection fileRows, MediaRowCollection mediaRows)
   at Microsoft.Tools.WindowsInstallerXml.Binder.BindDatabase(Output
output, String databaseFile)
   at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output,
String file)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args)
Binder temporary directory located at 'C:\Documents and
Settings\Chris\Local Settings\Temp\dy__81t9'.
Validator temporary directory located at 'C:\Documents and
Settings\Chris\Local Settings\Temp\86cdyeab'.


Thanks a lot.

Shirley
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Adding an error message popup without aborting installation

2007-07-20 Thread Man, Shirley
Hi,

I am launching a third-party installer (say, abc.exe) within my own, and
I would like to display a popup message saying abc.exe failed to
install if abc fails. This abc installer is launched in silent mode, so
there is no error message from it. User will continue the rest of the
installation after he clicks OK.

Basically, I want my program to install even if abc fails.

I can detect if abc is not installed properly, but I could not find a
way to insert this message popup.

Any help is appreciated.


Shirley






-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Reboot during Copying Files stage

2007-07-18 Thread Man, Shirley
In this test, there were about 15 files, 8 Mb each.
 



From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 17, 2007 8:32 PM
To: Man, Shirley
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Reboot during Copying Files stage


Man, Shirley wrote: 

The workaround is, before launching installer, manually remove
the folder with files that have been installed with previous
installation.

Here is the verbose log of the second install attempt. Notice
there is a 38 second hang at the line : 
MSI (c) (44:78) [16:43:58:779]: PROPERTY CHANGE: Modifying
CostingComplete property. Its current value is '0'. Its new value: '1'.


How many files are in your package? How many components? Costing takes
time and takes more time if MSI has to examine installed files to
determine whether they need to be overwritten, instead of just noticing
that they don't exist.


-- 
sig://boB
http://joyofsetup.com/
-
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


[WiX-users] Reboot during Copying Files stage

2007-07-17 Thread Man, Shirley
Hi all,

Has anyone seen this Windows Installer behavior before? 

1) Launch installer, proceed to Copying Files stage.
2) Reboot computer in the middle of copying files
3) Relaunch installer again.
4) Installer will freeze for awhile in the EULA screen (and sometimes it
freezes to death). 

The workaround is, before launching installer, manually remove the
folder with files that have been installed with previous installation.

Here is the verbose log of the second install attempt. Notice there is a
38 second hang at the line :
MSI (c) (44:78) [16:43:58:779]: PROPERTY CHANGE: Modifying
CostingComplete property. Its current value is '0'. Its new value: '1'.


MSI (c) (44:9C) [16:43:19:951]: Invoking remote custom action. DLL:
C:\DOCUME~1\xyz\LOCALS~1\Temp\MSI11.tmp, Entrypoint:
CaCheckFlashShockWaveVersions
MSI (c) (44:D0) [16:43:19:967]: Cloaking enabled.
MSI (c) (44:D0) [16:43:19:967]: Attempting to enable all disabled
priveleges before calling Install on Server
MSI (c) (44:D0) [16:43:19:967]: Connected to service for CA interface.
Action ended 16:43:20: CheckFlashShockWaveVersions. Return value 1.
MSI (c) (44:10) [16:43:20:186]: Doing action: WelcomeEulaDlg
Action 16:43:20: WelcomeEulaDlg. 
Action start 16:43:20: WelcomeEulaDlg.
Info 2898.WixUI_Font_Title, Tahoma, 0
Action 16:43:20: WelcomeEulaDlg. Dialog created
MSI (c) (44:78) [16:43:20:561]: Note: 1: 2205 2:  3: _RemoveFilePath 
MSI (c) (44:78) [16:43:58:779]: PROPERTY CHANGE: Modifying
CostingComplete property. Its current value is '0'. Its new value: '1'.
MSI (c) (44:78) [16:43:58:779]: Note: 1: 2205 2:  3: BindImage 
MSI (c) (44:78) [16:43:58:779]: Note: 1: 2205 2:  3: ProgId 
MSI (c) (44:78) [16:43:58:779]: Note: 1: 2205 2:  3: PublishComponent 
MSI (c) (44:78) [16:43:58:779]: Note: 1: 2205 2:  3: SelfReg 
MSI (c) (44:78) [16:43:58:779]: Note: 1: 2205 2:  3: Extension 
MSI (c) (44:78) [16:43:58:779]: Note: 1: 2205 2:  3: Font 
MSI (c) (44:78) [16:43:58:779]: Note: 1: 2205 2:  3: Class 
MSI (c) (44:78) [16:43:58:779]: Note: 1: 2727 2:  
MSI (c) (44:78) [16:44:00:154]: PROPERTY CHANGE: Adding LicenseAccepted
property. Its value is '1'.
MSI (c) (44:78) [16:44:01:013]: Doing action: SetLaunchOOO
Action 16:44:01: SetLaunchOOO.


We don't have DisableRollBack in our wix code.

Any suggestion is highly appreciated.

Thanks,
Shirley
-
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


[WiX-users] External exe launched in the background

2007-07-06 Thread Man, Shirley
Hi,

I have a customaction calling a third-party installer

CustomAction  Id=RunInstallSomething  Property=SomethingPath
ExeCommand='[SourceDir]Something [INSTALLLOCATION]
[ProgramMenuDir] !(loc.LANG_IND)' Return='check' Impersonate=no
Execute=deferred /

But for some reason on Vista, the third-party exe is launched in the
background behind the Windows Installer.  Is there a way to force it to
launch in the foreground instead?


Thanks,
Shirley


-
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


Re: [WiX-users] Disallow uninstall if file in use

2007-07-05 Thread Man, Shirley
Thanks, Bob.
 
 The MSI standard is to let the uninstall proceed and require a
reboot. 
That means I will need to set some property to force a reboot then? The
default behavior doesn't prompt user about the reboot.
 
TIA!



From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 04, 2007 8:02 PM
To: Man, Shirley
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Disallow uninstall if file in use


Man, Shirley wrote: 

Is there a way to disallow uninstall (i.e., by throwing an error
message) if any of the installed files is in use? Any property I can
check in Condition/?
 
The default behavior allows users to choose Ignore and proceed
with the uninstall process.


There's no built-in method to detect when files might be in use. The MSI
standard is to let the uninstall proceed and require a reboot. Refusing
to uninstall is considered more rude than requiring a reboot,
presumably. You'd have to use a custom action to do otherwise.

-- 
sig://boB
http://joyofsetup.com/
-
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


Re: [WiX-users] Disallow uninstall if file in use

2007-07-05 Thread Man, Shirley
I see. I notice the temporary file (which was originally the running
exe) gets deleted on next reboot, but the problem is, its parent
directory (in my case, the INSTALLDIR) is not.
Is this a known MSI issue?
 



From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 05, 2007 7:45 AM
To: Man, Shirley
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Disallow uninstall if file in use


Man, Shirley wrote: 

That means I will need to set some property to force a reboot
then? The default behavior doesn't prompt user about the reboot.


If MSI can't replace a file that's in use, it schedules the replacement
to happen at next boot. See the MSI SDK doc for the ReplacedInUseFiles
Property, for example. A verbose log will shows when it's being set.

-- 
sig://boB
http://joyofsetup.com/
-
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


[WiX-users] Disallow uninstall if file in use

2007-07-04 Thread Man, Shirley
Is there a way to disallow uninstall (i.e., by throwing an error
message) if any of the installed files is in use? Any property I can
check in Condition/?
 
The default behavior allows users to choose Ignore and proceed with the
uninstall process.
 
 
Thanks for your help.
 
Shirley
 
-
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


[WiX-users] Setting UILevel in Wix

2007-07-03 Thread Man, Shirley
 Hi,
 
 Is there a way to set UILevel to 5, so uninstall can always run in
 Full UI mode?
 
 The reason for this is I need to disable the Ignore button in the
 FilesInUse dialog, but the change is only reflected in Full UI mode. 
 
 Uninstalling from Add/Remove Program will still show the Ignore button
 when a file is in use.
 
 TIA for any help!
 
 Cheers,
 Shirley
 
-
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