Re: [WiX-users] Default values to a control

2007-03-31 Thread Kevin Burton
Thank you very much. Progress but I think I am running into the second problem that you mentioned. The documentation states that in order for the property to be set in the UI phase and passed to the execution phase it has to be public for Windows XP and Windows 2000. I am not running either XP or W

Re: [WiX-users] rollback installation when custom action failed

2007-03-31 Thread Bei Liu (Volt)
From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Saturday, March 31, 2007 6:00 PM To: Bei Liu (Volt) Cc: WiX-users Subject: Re: [WiX-users] rollback installation when custom action failed Bei Liu (Volt) wrote: 1) My custom action return code is 0 for success, so in the log file, according

Re: [WiX-users] rollback installation when custom action failed

2007-03-31 Thread Bob Arnson
Bei Liu (Volt) wrote: 1) My custom action return code is 0 for success, so in the log file, according to msdn, the return code should be 1, however, it is 0 in the log file. What type of custom action are you using? The proper return value depends on the type. If MSI is logging a 0,

Re: [WiX-users] Change Add/Remove Programs icon

2007-03-31 Thread Bob Arnson
Mike Dimmick wrote: > To add to Bob's terse reply () I get a bonus for every byte I save. -- sig://boB http://bobs.org - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll

Re: [WiX-users] Default values to a control

2007-03-31 Thread Bob Arnson
Kevin Burton wrote: >X="94" Y="62" Width="150" Height="18" Property="EndecaServerProperty" > Indirect="yes" Text="[EndecaServerProperty]"/> > Indirect="yes" tells MSI that the Property value is the name of another property, not the value of the thing itself. Rem

Re: [WiX-users] rollback installation when custom action failed

2007-03-31 Thread Bei Liu (Volt)
I have 2 questions: 1) My custom action return code is 0 for success, so in the log file, according to msdn, the return code should be 1, however, it is 0 in the log file. When use "AsyncWait" it didn't give error dialog. When use "check", it gave the error dialog. 2) I'm not qu

Re: [WiX-users] [WiX-devs] XmlFile uninstall error

2007-03-31 Thread Rob Mensching
What version of the WiX toolset v2 are you using? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of raj ganesh Sent: Saturday, March 31, 2007 4:18 PM To: wix-users@lists.sourceforge.net; wix-devs@lists.sourceforge.net Subject: [WiX-devs] XmlFile uninstall er

[WiX-users] XmlFile uninstall error

2007-03-31 Thread raj ganesh
We are using XmlFile in WiX 2.0 and it updates the XML file during a install. I get this error during a uninstall it gives an error - ExecXmlFile: Error 0x800710d8: failed to find node: //MANIFEST/FILE in XML file: F:\I3\IC\AutoClientUpdates\Interaction Administrator\Administrator24.man MSI (s) (

Re: [WiX-users] Default values to a control

2007-03-31 Thread Kevin Burton
I am trying: devbrain02 8000 ... ... And I don't see the default properties (set as properties above). Am I doing something wrong? Kevin -Original Messa

Re: [WiX-users] Change Add/Remove Programs icon

2007-03-31 Thread Mike Dimmick
To add to Bob's terse reply () that's really a feature of Windows itself. The icon displayed in the top-left of the window is the class icon as registered by the RegisterClass[Ex] function, or as set by the WM_SETICON message. Windows Installer doesn't make it possible to modify this icon. -- Mik

Re: [WiX-users] multiple cultures and codepage error

2007-03-31 Thread Bob Arnson
Huck, Jacob wrote: When I go to light an msi using the above wixlib and numerous other wixlibs that are not localized, I find that when I pass in "-cultures:en-us" the msi compiles without any issues, but as soon as I pass in "-cultures:ja;en-us", I get the following error: light.exe : error

Re: [WiX-users] SelectionTree and Features: how to hide menu item InstallAll?

2007-03-31 Thread Bob Arnson
Igor Lemsky wrote: > May be there are ways to hide first menu item and leave "Entire > feature..." alone with "... unavailable"? MSI automatically populates the menu with the options that are available for a specific feature using strings from the UIText table. If MSI is using the "MenuAll*" st

Re: [WiX-users] Default values to a control

2007-03-31 Thread Bob Arnson
[EMAIL PROTECTED] wrote: > I am relatively new to Wix. I am trying to build a dialog and I would like > there to be a default value for the text entered and I would like to have > text for a password field masked. I am sure this can be done I just don't > know how right now. > Controls are t

Re: [WiX-users] initialize a property

2007-03-31 Thread Bob Arnson
Don Tasanasanta wrote: How would you make this work in WiX? If a reg value exists then set property to that reg entry, else set property to zero I know how to read a reg value into a property, I know how to set a property to zero but might you put the if condition around it? Set t

Re: [WiX-users] determine installation directory based on a condition

2007-03-31 Thread Bob Arnson
Patrick Schmid wrote: > Is it possible to determine the installation directory based on a condition? > For example, if the OS is XP, install in Program Files. If the OS is Vista, > install somewhere else? > You'd have to use a custom action to set the directory. -- sig://boB http://bobs.org

Re: [WiX-users] file association issue

2007-03-31 Thread Bob Arnson
vij wrote: > when we un-install V2, we want file association reverted to V1, but > this is not happening. There's no automatic support for that in MSI. You could store the current association in the registry, retrieve it using RegistrySearch, then write it back. -- sig://boB http://bobs.org

Re: [WiX-users] stop service before installvalidate

2007-03-31 Thread Bob Arnson
Wilson, Phil wrote: > Also, I'm pretty sure that InstallValidate takes account of the > ServiceControl table when it's deciding whether to show a FilesInUse > dialog, if that's the issue. > That's right. The downside is that if your service takes longer than 30 seconds to stop, it might not a

Re: [WiX-users] Conditional RemoveFiles on Uninstall

2007-03-31 Thread Bob Arnson
[EMAIL PROTECTED] wrote: > RemoveAllFiles > You need to use a secure public property so it's passed from the UI sequence to the execute sequence. Otherwise, it evaluates as false. -- sig://boB http://bobs.org -

Re: [WiX-users] Patching fails with 1627

2007-03-31 Thread Bob Arnson
Huck, Jacob wrote: In case someone was looking at a similar issue: basically we have multiple cab files in a debug install (to contain the pdbs, which exceed 2GB in many cases). When generating the patch, I was leaving MediaDiskId blank, but in needed to be set to a value greater than the hi

Re: [WiX-users] Problems with MFC and CRT 8 Merge Modules

2007-03-31 Thread Bob Arnson
Mike Dimmick wrote: > (running validation would have shown this...) > You'd think, eh? > I can't work out where the 'duplicate sequence number' errors have come from > as SystemFolder.whatever are directory IDs, not actions. > Mergemod.dll automatically creates CAs that set dir.guid to [di

Re: [WiX-users] rollback installation when custom action failed

2007-03-31 Thread Bob Arnson
Please keep /wix-users/ on the thread. Bei Liu (Volt) wrote: If I add rollback attribute to my custom action, it only keeps custom action from running,, but other files will be installed successfully. See "Rollback Custom Actions" in the MSI SDK. You need two custom actions for every defe

Re: [WiX-users] Problems with MFC and CRT 8 Merge Modules

2007-03-31 Thread Mike Dimmick
Yep, the SxsInstallCA and SxsUninstallCA custom actions weren't modularized (given distinct identifiers), so only one version will get picked up. This shouldn't be a problem as I believe they parse a custom table (SxsMsmGenComponents) which will be built correctly with data from both CRT and MFC mo

Re: [WiX-users] COM Registration of .Net assembly in v2

2007-03-31 Thread Mike Dimmick
Call regasm with the /regfile switch, then run tallow on the resulting .reg file? I believe tallow -c should do the same thing, but if you're having doubts, try it the other way. -- Mike Dimmick _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Timothy Meese Se

Re: [WiX-users] Disk costing, directory deleting

2007-03-31 Thread Rob Mensching
Note: you probably don't need to do 1 if you do 2. You'll need a CustomAction to toast an entire directory tree. You can clean all files out of a set of directories using the RemoveFile and RemoveFolder elements. However, your trading off describing all of the files for custom code and a less

Re: [WiX-users] Localizing WixUI in 3.0 - error LGHT0100 : Thelocalization identifier xxx has been duplicated in multiplelocations.

2007-03-31 Thread Mike Dimmick
It looks like you're specifying a WiX 2.0 WixUI_*.wxl file in addition to specifying the WiX 3.0 -cultures switch. Try dropping the -loc WixUI_%CULTURE%.wxl option. -- Mike Dimmick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zsolt Soczo Sent: 31 Marc

Re: [WiX-users] Use sca to create database,does it require mdac.

2007-03-31 Thread Fredrik Grohn
The SQL CA’s uses the SQL OleDB driver directly. And yes I believe that is a part of MDAC. Are you saying you are having problems with the CA’s failing because the driver is not present? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ??? Sent: Saturday, March 31, 2007 2:07 AM To:

Re: [WiX-users] COMPlus in Wix V3

2007-03-31 Thread Fredrik Grohn
It is currently awaiting check in. Rob has the bits, and I don't think it will bounce another time. But I don't know when exactly it is going to be in... From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Krishna Vaishnav Sent: Friday, March 30, 2007 8:01 PM To: wix-users@lists.source

Re: [WiX-users] Localizing WixUI in 3.0 - error LGHT0100 : The localization identifier xxx has been duplicated in multiple locations.

2007-03-31 Thread Zsolt Soczo
No one ever tried to localize WixUI in 3.0? I'm afraid I have to debug light.exe. :( Zsolt Soczo On 3/29/07, Zsolt Soczo <[EMAIL PROTECTED]> wrote: > I tried to localize the WixUI, but it seems I don't know ho to do that. > > I used the following command line: > light.exe MyInstaller.wixobj -ext