Re: [WiX-users] Performing a Major Upgrade when only the Fourth Field of the Product Version Has Changed

2008-01-30 Thread ChaitanyaBhalerao
ChaitanyaBhalerao wrote: > > > IncludeMinimum="yes" Minimum="1.0.0" > IncludeMaximum="no" > Maximum="$(var.ProductVersion)" OnlyDetect="no" MigrateFeatures ="yes" > IgnoreRemoveFailure ="no"/> > >

[WiX-users] ATTN; PLEASE

2008-01-30 Thread Mrs Nenni Richard
新しいメールアドレスをお知らせします新しいメールアドレス: [EMAIL PROTECTED] Dear Please I am Mrs Nenni Richard. I am contacted you to be my project partner and stand as my late father's foreign manager for transfer of US$22 million into your account for investment I intend to do in your country. Please reply urge

Re: [WiX-users] Condition runs incorrectly on Repair

2008-01-30 Thread Sebastian Brand
Just add "OR Installed" to your Condition statement. Then it will check during a blank installation only. Best regards, Sebastian Brand Instyler Software - http://www.instyler.com On Jan 31, 2008, at 3:46 , RW wrote: > Hi, > > I have a condition: > > > > Depth="0"> > >

Re: [WiX-users] parents of RegistryValue element

2008-01-30 Thread Sebastian Brand
Don't use "RegistryValue" but "Registry". Best regards, Sebastian Brand Instyler Software - http://www.instyler.com On Jan 30, 2008, at 18:29 , Ted Yu wrote: > Does WIX v2.0.4701 support RegistryValue ? > I tried this syntax from a sample: > >Guid="c97abb02-b33

[WiX-users] Condition runs incorrectly on Repair

2008-01-30 Thread RW
Hi, I have a condition: MARXFILEEXISTS This is under the . It appears to correctly detect if the DLL is present or not when installing, but when I re-run the MSI and select Repair, the installer errors out, despite the DLL still being prese

Re: [WiX-users] Leaving a file on uninstall

2008-01-30 Thread RW
That appears to do what I wanted. Thanks J From: Karthik Krishnan [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 5:52 PM To: RW; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Leaving a file on uninstall You can set the File's parent Component's "Permanent" attribut

Re: [WiX-users] Creating backups

2008-01-30 Thread Alexander Shevchuk
Look for and elements in WiX. See more explanation on how to schedule MoveFiles action in here: http://msdn2.microsoft.com/en-us/library/aa370054(VS.85).aspx Alex -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of RW Sent: Wednesday, January 30, 2008 2:1

Re: [WiX-users] pre-defined variables?

2008-01-30 Thread Justin Rockwood
I also just blogged about this, so you can check out http://blogs.msdn.com/jrock/archive/2008/01/29/complete-list-of-candle-prepr ocessor-variables.aspx. Justin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mark.modrall Sent: Wednesday, January 30, 2008

Re: [WiX-users] Leaving a file on uninstall

2008-01-30 Thread Adam Majer
Karthik Krishnan wrote: > You can set the File's parent Component's "Permanent" attribute to > "yes", which I think accomplishes what you are trying to do. This generally should only apply to system files. - Adam -- Mail Etiquette == * Quote properly or not at all. Top posters, thi

Re: [WiX-users] Leaving a file on uninstall

2008-01-30 Thread Adam Majer
RW wrote: > > > As it changes and will contain important data, I don't want the uninstaller > to actually remove it. Generally, this is not the correct way of doing things. The idea is to, 1. install MyConfig.XML with default data in program directory 2. your application opens MyConfig.XML in

Re: [WiX-users] Leaving a file on uninstall

2008-01-30 Thread Karthik Krishnan
You can set the File's parent Component's "Permanent" attribute to "yes", which I think accomplishes what you are trying to do. On Jan 30, 2008 5:13 PM, RW <[EMAIL PROTECTED]> wrote: > Hi, > > How do I have WiX install a file, but then leave it behind when the app is > uninstalled? > > E.g. this

[WiX-users] Creating backups

2008-01-30 Thread RW
Hi, I am using WiX to replace an existing installer system, and as such, when the installer runs, if there is an existing configuration file (e.g. MyConf.XML), what is the best method to place a copy of that in a Backup folder, preferably renamed with a datetime in the filename? Thanks, RW -

[WiX-users] Leaving a file on uninstall

2008-01-30 Thread RW
Hi, How do I have WiX install a file, but then leave it behind when the app is uninstalled? E.g. this is my file: As it changes and will contain important data, I don't want the uninstaller to actually remove it. I know that goes against the concept of an uninstall... :) Thanks RW ---

Re: [WiX-users] pre-defined variables?

2008-01-30 Thread mark.modrall
Okay, are the preprocessor variables listed in http://msdn2.microsoft.com/en-us/library/aa302186.aspx only applicable to source projects? We have some Wix projects that bundle a bunch of msms into an msi. The main project has project dependencies on all of the othe Wix projects but when I put i

Re: [WiX-users] Size of feature

2008-01-30 Thread Wilson, Phil
Generally speaking you don't need to do this. If you want to ensure space at some directory location you use the ReserveCost mechanism and let Windows figure out if there's enough room. Windows already computes the size of the feature for space checking, and ReserveCost lets you change it. Why

[WiX-users] unexpected SqlDatabase element

2008-01-30 Thread Ted Yu
When I use WIX 3.0.2512.0 to compile, I get error on this line: The error is: c:\map\private\map\installers\sql\handsetmgrdata\handsetmgrdbsetup.wxs(92) : error CNDL0005 : The Component element contains an unexpected child

Re: [WiX-users] Votive 3.0.3530.0-can't add a relative reference to a wixlib

2008-01-30 Thread Chris Bardon
You're right-a relative path will work if you hand edit the wixproj, but the UI will still show the absolute path. Thanks for the help. From: Justin Rockwood [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 29, 2008 2:47 PM To: Chris Bardon; WiX Users Subject: RE: [WiX-users] Votive 3.0.35

Re: [WiX-users] Service is not started in Vista, working fine in xp

2008-01-30 Thread Wilson, Phil
Put some tracing code in your service to see where it's breaking, check the results of API calls, catch errors, and generally make the code tell you what's wrong instead of crashing. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja S

[WiX-users] Convert installer to ClickOnce

2008-01-30 Thread hina1703
I have created a installer using Wix toolset. How can I convert it to ClickOnce deployment? Thanks, -- View this message in context: http://www.nabble.com/Convert-installer-to-ClickOnce-tp15187530p15187530.html Sent from the wix-users mailing list archive at Nabble.com. -

Re: [WiX-users] parents of RegistryValue element

2008-01-30 Thread Ted Yu
Does WIX v2.0.4701 support RegistryValue ? I tried this syntax from a sample: But WIX still complains: Compiling - Candle (v2.0.4701.0) .\MapDomainDataDbSetup.wxs MapDomainDataDbSetup.wixobj errors in directory c:

Re: [WiX-users] Possible bug with ICE31

2008-01-30 Thread Ryan O'Neill
Thanks Bob. From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: 30 January 2008 15:46 To: Ryan O'Neill Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Possible bug with ICE31 Ryan O'Neill wrote: This can be worked around by swapping the style and the text length de

Re: [WiX-users] Possible bug with ICE31

2008-01-30 Thread Bob Arnson
Ryan O'Neill wrote: Height="16" Property="MyProp" Text="{48}{\TS_MS_Sans_Serif_9}" TabSkip="no" Sunken="yes" /> This can be worked around by swapping the style and the text length delimiter around. The MSI still works as expected but the warning goes away. Height="16

Re: [WiX-users] pre-defined variables?

2008-01-30 Thread Bob Arnson
mark.modrall wrote: > Is there a more up-to-date doc site than > http://wix.sourceforge.net/manual-wix2/ ? Because $(sys.PLATFORM) isn't > documented there, for example. No, but I added it. > I guess maybe I should just fetch the source from Wix and do a search of > the code... > That's ho

Re: [WiX-users] Setting security permissions for a directory...

2008-01-30 Thread Sebastian Brand
This should work :-) As far as I know, only empty folders are removed by the installer and CreateFolder won't fail if the folder exists already. You may also add Permanent=yes to the Component to ignore the component during uninstallation. From msi help: << The folders in this table are crea

Re: [WiX-users] How to check if a edit control is empty?

2008-01-30 Thread Daniel Janz
I already tried a similar approach but failed. I will simply try it again with your code and reply to you. Thx for help! -Original Message- From: Sebastian Brand [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 30. Januar 2008 16:11 To: Daniel Janz Cc: wix-users@lists.sourceforge.net Subject: R

Re: [WiX-users] pre-defined variables?

2008-01-30 Thread mark.modrall
Is there a more up-to-date doc site than http://wix.sourceforge.net/manual-wix2/ ? Because $(sys.PLATFORM) isn't documented there, for example. Found a number of posts and articles referring to $(var.Platform) but those seem to be in error. I guess maybe I should just fetch the source from Wix a

Re: [WiX-users] How to check if a edit control is empty?

2008-01-30 Thread Daniel Janz
I already answered this question myself, but thx for help ;-) >> Ok, my mistake: DBNAME = "" PASSWORD = CONFIRM_PASSWORD AND DBNAME <> "" This fixes the Problem ;-) << -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Sent: Mittwoch, 30. Januar 20

Re: [WiX-users] parents of RegistryValue element

2008-01-30 Thread Sebastian Brand
This looks completely wrong :-) See the tutorial at http://www.tramontana.co.hu/wix/lesson1.php#1.7 on how to use correctly under a element Best regards, Sebastian Brand Instyler Software - http://www.instyler.com On Jan 30, 2008, at 15:14 , Ted Yu wrote: > My intention is to use Reg

Re: [WiX-users] How to check if a edit control is empty?

2008-01-30 Thread Sebastian Brand
I think you can cascade Conditions logically. Assuming you already have a checkbox or something tied to a property USESQLAUTH: SERVERNAME <> "" AND DBNAME <> "" AND ((USESQLAUTH = 1 AND USERNAME <> "") OR USESQLAUTH = "") NOT (SERVERNAME <> "" AND DBNAME <> "" AND ((USESQLAUTH = 1 AND US

Re: [WiX-users] How to check if a edit control is empty?

2008-01-30 Thread Richard
In article <[EMAIL PROTECTED]>, "Daniel Janz" <[EMAIL PROTECTED]> writes: > Is this possible in a simple way? I already tried to check the property: > > DBNAME > <>(<>) "" > > But it doesn't work like expected. In what way doesn't it work as expected? -- "The Direct3D Graphics Pipeline"

Re: [WiX-users] How to check if a edit control is empty?

2008-01-30 Thread Daniel Janz
I've just found a other problem which I'm currently not able to solve, how can I express the following conditions using Wix?: (C# "Pseudo"-code) //This variable indicates whether we should show the next window or not bool ShowNextWindow = false; //First check th

[WiX-users] Possible bug with ICE31

2008-01-30 Thread Ryan O'Neill
Building with WiX v3 against the following causes an ICE31 error (which is warning LGHT1076 : ICE31: Text Style tag in xxx.yyy has no effect. Do you really want it to appear as text?) This can be worked around by swapping the style and the text length delimiter around. The MSI stil

Re: [WiX-users] parents of RegistryValue element

2008-01-30 Thread Ted Yu
My intention is to use RegistryValue element in InstallExecuteSequence. What's the simple way of declaring RegistryValue element ? I tried the following two approaches: I got: BUILD: Linking c:\map\private\map\installers\sql\mapdomaindata directory Compiling - Candle (v2.0.4701.0) .\MapD

Re: [WiX-users] Help on MsiGetProperty()

2008-01-30 Thread Paul McCloskey
The value of MyProperty is stored in szValueBuf. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anidil Sent: Wednesday, January 30, 2008 6:03 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Help on MsiGetProperty() I've created a wrapper cu

Re: [WiX-users] How to check if a edit control is empty?

2008-01-30 Thread Daniel Janz
Ok, my mistake: DBNAME = "" PASSWORD = CONFIRM_PASSWORD AND DBNAME <> "" This fixes the Problem ;-) From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Janz Sent: Mittwoch, 30. Januar 2008 14:02 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to check if a e

[WiX-users] How to check if a edit control is empty?

2008-01-30 Thread Daniel Janz
Hi, I currently try to check if a Edit-Control is empty (has no text), I already found the MaskedEdit-Control but I think it doesn't meet my requirements. If I understood this control right, I would have to define a mask with fixed length. But I need the control to validate if a server name was

Re: [WiX-users] Service Permissions

2008-01-30 Thread Dominik Guder
Anidil wrote: > > > Can you tell me how to add LsaAddAccountRights to a specific admin > account? > And how do i give these required persmissions through my wix code? > > The user/@LogonAsService attribute could be used (not tested by myself) Regards Dominik -- View this message in contex

[WiX-users] Help on MsiGetProperty()

2008-01-30 Thread Anidil
I've created a wrapper custom action dll with MsiGetProperty().From what i see from MSDN,MsiGetProperty uses "MyProperty" as shown below;which is used by the custom action. Can anyone help me understand this part? Where should i get value for "MyProperty"? from MSDN site on MsiGetProperty: UI

Re: [WiX-users] Trap which error causes rollback within CA

2008-01-30 Thread Jennifer Zhao
Here is my experience: It custom action is an Installer class, any exception unhandled will trigger rollback. Define the try catch blocks and add a try catch block in the top level. If I think the exception is critical and rollback need to be triggered, then throw the exception from the installe

Re: [WiX-users] Rollback Managed Custom Action Issue

2008-01-30 Thread Jennifer Zhao
Hi Adrian, The rollback should be put just before the corresponding custom action. In your script, the rollback is corresponding to install, so the custom action sequence should be like this: $MainComponent>2 $MainComponent>2 $MainComponent>2 $MainComponent>2

Re: [WiX-users] The way to Upgrade multiple existing products!

2008-01-30 Thread Jennifer Zhao
Hi Jacob, I have the experience to upgrade multiple products. Here is the wxs snippet Insert upgrade table to product node. Do remember each upgrade entry needs a distinguish property name. In my example, OLDPRODUCT0 and OLDPRODUCT1 are used respectively. Insert the following

Re: [WiX-users] The way to Upgrade scenario with multiple existing products!

2008-01-30 Thread Jennifer Zhao
Hi Jacob, I have the experience to upgrade multiple products . Here is the wxs snippet Insert upgrade table into product node. Do remember each upgrade item must have its own property. In this example, OLDPRODUCT0 and OLDPRODUCT1 are used respectively. Add the follo

[WiX-users] Chaning installdirectory doesn't change subdirectories

2008-01-30 Thread Nordvik, Christer
Hi! I've been given the task of finishing an existing WiX setup but I can't understand why it doesn't install into the correct folder. The outmost directory is TARGETDIR and when I look at the logfiles the property is set to C: as default. I change it to D: during the install process but s