Re: [WiX-users] Learning WiX3

2007-05-09 Thread Bob Arnson
Glen Harvy wrote: Is there somewhere on the net that I can read the latest information on WiX3. Not much -- WiX v3 is still in active development. Specifically, I want to run a CustomAction but the documentation I can see refers to copying sca.dll wixca.dll from the bin\ca director but they

Re: [WiX-users] heat website command not working

2007-05-09 Thread Bob Arnson
Mike Dimmick wrote: I have a vague recollection that it should be LM/1/Root/MyWebSite but I'm not familiar with using heat to process websites. Derek's blog entry introducing heat says: Although its a bit under con

Re: [WiX-users] Heat harvesting directories without registry entries

2007-05-09 Thread Bob Arnson
Budnik, Christof (SCR US EXT) wrote: + I am also wondering if there isn't an option to prevent "heat" from generating such tags and deals with .dlls in the same way it does with other files. Not currently. If not, how should the generated file be used without editing it? In general, heat i

Re: [WiX-users] Run CustomAction on unsucessful installation

2007-05-09 Thread Bob Arnson
Carl Quirion wrote: > Hi, i want to run a CustomAction at the end of the installer if no > product was installed (or installed was rolledback). > This action would run if the user cancels the installation, if the > installation fails, etc. MSI supports this via rollback custom actions; they're p

Re: [WiX-users] Persist ini file parameters for use during reinstall, repair

2007-05-09 Thread Bob Arnson
Trevor Clifton wrote: > I need help knowing what to do so that those parameters are around for the > msi to use when reinstall, repair and other instances of the msi are run > from ARP. > > I have read and searched and concluded that AppSearch is a key word in all > of this, but how do I set these

Re: [WiX-users] ICE03 error

2007-05-09 Thread Bob Arnson
Mike Dimmick wrote: > Since the MSI database allows you to insert lengths longer than stated in > the column definition I'm not entirely sure what the impact of 'overflowing' > a column is. > Depends on the code that uses the column's data. Sometimes you can plug in extra data and it works. So

Re: [WiX-users] Disk Cost dialogs not show cost?

2007-05-09 Thread Bob Arnson
Magus wrote: > Is there any way to call that Publish event without a dialog? or a dialog > that doesn't require user input to exit. > The dialog doesn't do anything except tell the user costing isn't complete. Check CostingComplete; if it's not set, costing isn't complete. -- sig://boB ht

[WiX-users] Learning WiX3

2007-05-09 Thread Glen Harvy
Hi, Is there somewhere on the net that I can read the latest information on WiX3. Specifically, I want to run a CustomAction but the documentation I can see refers to copying sca.dll wixca.dll from the bin\ca director but they don't exist. Thanks, Glen. ---

Re: [WiX-users] Wix Question

2007-05-09 Thread Dustin Andrews
This is really simple. You just supply the parameters (that match properties in the MSI) on the command line. myInstall.msi DOMAINACCOUNT=domain\user PASSWORD=password Be sure to include conditions in your msi to fail the install if required options are missing. (or installed will allow upgrade

[WiX-users] Wix Question

2007-05-09 Thread Elnata Degefa (Bluwater Consulting Inc)
I am a new user of Wix, I wanted to create msi for our deployment process. I want the msi to accept different parameter (command line argument), I couldn't find any doc which explain how to do this. Any idea how I can do this? Or is there any documentation that I can use. Thanks, Elnata SDET, S

[WiX-users] Associating Files & Shortcuts (Rob's Version)

2007-05-09 Thread Dhaval Patel
Most of my stuff gets deployed on the server side where the only users are admins and support staff. I usually point them to the config XML files in my documentation, but it is always useful to have a shortcut in the Programs Menu folder (it also minimizes documentation). Another nice functionalit

Re: [WiX-users] ICE03 error

2007-05-09 Thread Mike Dimmick
Sorry, I should have said: you need to download the source ZIP, extract it, modify the file I mentioned, then build a private copy. See 'Building WiX' in the WiX help file for how to build it. Note that you need to copy darice.cub, mergemod.cub and mergemod.dll into src\light\bin to build successf

Re: [WiX-users] heat website command not working

2007-05-09 Thread Mike Dimmick
I'm not sure what the parameter to "heat website" *should* be, but it should not start with a '/' character. That causes the command-line parser to think that that argument is an option, not the vdir to process. I have a vague recollection that it should be LM/1/Root/MyWebSite but I'm not familiar

Re: [WiX-users] ICE03 error

2007-05-09 Thread jrcolons
jrcolons wrote: > > > > Rob Mensching-2 wrote: >> >> Hmm, I thought the length restriction was removed. Feel free to open a >> bug so we remember to update the string lengths. >> > > Sorry Rob, I'm a newbie in wix matters... how do i open it? > > I just opened it. Is there any hack or

Re: [WiX-users] ICE03 error

2007-05-09 Thread Wilson, Phil
>>Explain how else you could even get an ICE03 "String overflow (greater than length permitted in column)" error! I couldn't, which was why I was speculating that recent MSI engines were stricter than others. However, I guess the fact that IDT tables are being used explains it. It's probably sa

Re: [WiX-users] ICE03 error

2007-05-09 Thread Mike Dimmick
Explain how else you could even get an ICE03 "String overflow (greater than length permitted in column)" error! ICE validation occurs by merging darice.cub (really an MSM with a different extension) into the final MSI and running the _ICESequence sequence. If a string overflow is found, it's becau

Re: [WiX-users] Multiple Wxs Merge in Visual Studio?

2007-05-09 Thread Matthew Janulewicz
I have a similar setup, but I use an old utility called 'mallow' to generate my files.wxs (in auto-generates unique GUIDs all by itself, and I've been too lazy to change everything around.) Anyhoo, it should be roughly the same. The gist of it is that I encompassed all my on-the-fly components i

[WiX-users] heat website command not working

2007-05-09 Thread suedeuno
I'm using the following command: heat.exe website /1/Root/MyWebSite -out web.wxs I'm getting HEAT0001 : Value cannot be null System.ArguementNullException Stack Trace: at Microsoft.Tools.WindowsInstallerXml.Harvester.Harvest(String arguement) Can someone tell me if my command arguments are co

[WiX-users] Forcing Fatal Exit/error or any other failure dialog

2007-05-09 Thread Magus
Is there a way to force these dialogs at run time. I am trying to make sure my Custom UI Dialogs for them appear and get the proper information to display in them that would appear normally. -- View this message in context: http://www.nabble.com/Forcing-Fatal-Exit-error-or-any-other-failure-dia

Re: [WiX-users] ICE03 error

2007-05-09 Thread jrcolons
Rob Mensching-2 wrote: > > Hmm, I thought the length restriction was removed. Feel free to open a > bug so we remember to update the string lengths. > Sorry Rob, I'm a newbie in wix matters... how do i open it? -- View this message in context: http://www.nabble.com/ICE03-error-tf3717662.h

[WiX-users] Detecting the type of file system

2007-05-09 Thread Jason Van Eaton
Is there a way to detect the file system type (FAT16, FAT32, NTFS) and limit the install to only that format type? I didn't see anything obvious when querying the help file for any of those acronyms. Thank you. JVE - T

Re: [WiX-users] ICE03 error

2007-05-09 Thread Wilson, Phil
Are you sure about that "allows you to insert lengths longer than stated in the column definition"? Just the other day I had error 1627 when trying to insert a string of more than 72 characters into the Registry column of the Registry table. It's not clear to me whether a definition such as strin

Re: [WiX-users] ICE03 error

2007-05-09 Thread Mike Dimmick
Appears to be a limit imposed by the column definition format (see http://msdn2.microsoft.com/en-us/library/aa367870.aspx). Interestingly there is an s0 which should be unlimited but I'm not sure whether that would still work. Having said that, the SQL column of the SqlString table used by the ele

Re: [WiX-users] ICE03 error

2007-05-09 Thread Rob Mensching
Hmm, I thought the length restriction was removed. Feel free to open a bug so we remember to update the string lengths. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jrcolons Sent: Wednesday, May 09, 2007 1:04 PM To: wix-users@lists.sourceforge.net Sub

Re: [WiX-users] SqlString works but SqlScript bombs in WiX v3.0?

2007-05-09 Thread Rob Mensching
WixCop automates the move forward. Note, WiX v3 isn't stable. If you're shipping before next year, I would not recommend moving up to it. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Burton Sent: Wednesday, May 09, 2007 1:09 PM To: Rob Mensching; 'Bill Venhaus' Cc: wix-u

Re: [WiX-users] SqlString works but SqlScript bombs in WiX v3.0?

2007-05-09 Thread Kevin Burton
Hopefully this small bit of work will be documented because I have been looking forward to moving to WiX v3.0 but what appears to be the large changes have so far kept me from doing so. Thank you for your efforts and hard work. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [WiX-users] ICE03 error

2007-05-09 Thread jrcolons
Rob Mensching-2 wrote: > > What's the problem? > Sorry I was trying to be so succint that I omitted the essence of my problem. I'm trying to modify a connection string value to an add key in the web.config to reflect an application server name. The sentence i'm using to try achieve this is th

Re: [WiX-users] ICE03 error

2007-05-09 Thread Mike Dimmick
You say in the title it's an ICE03 error. What's the exact text of the error? ICE03 generates a number of different messages - it's basically the data structure integrity-checking ICE. Given how long that is I think that you're exceeding the length of the column. WiX permits up to 255 characters i

[WiX-users] Multiple Wxs Merge in Visual Studio?

2007-05-09 Thread S C
Using WiX v3 and Votive. I have a .wixproj in my .sln. I have a pre-build event that uses robocopy to get all files that make up a web application project into a clean directory, then heat to create a "files.wxs", then globally replace the "YOUR-GUID-HERE" to a "*" (that means the final MSI w

Re: [WiX-users] SqlString works but SqlScript bombs in WiX v3.0?

2007-05-09 Thread Rob Mensching
Please send questions to the wix-users mailng list. It takes a small bit of work to go from WiX v2 to WiX v3 but it takes a lot more work to go from WiX v3 back to WiX v2. Also, the .wxlibs from WiX v2 are not likely to work in WiX v3. The WiX v3 CustomActions do not yet have any of the bug fi

Re: [WiX-users] ICE03 error

2007-05-09 Thread Rob Mensching
What's the problem? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jrcolons Sent: Wednesday, May 09, 2007 11:58 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] ICE03 error Hi! I'm trying to set a connection string in my web.config file

[WiX-users] Heat harvesting directories without registry entries

2007-05-09 Thread Budnik, Christof (SCR US EXT)
Hi, I am using heat.exe to generate from each file in a specified folder a proper component fragment which will be referenced afterwards. Unfortunately, heat always generates for each .dll also a , and a lot of tags which result in the following error message while building: "The Class/@Server

[WiX-users] ICE03 error

2007-05-09 Thread jrcolons
Hi! I'm trying to set a connection string in my web.config file for a third party application that's maybe too long for xmlfile to work... I am trying to figure out how i can work around that. can anyone enlighten me in that? that's the string I'm trying to setvalue on my web.config: tha

Re: [WiX-users] Progress bar overall instead of per feature

2007-05-09 Thread Magus
Too bad I won't be able to do that. My Custom UI is required and already complete except for a few minor details. Is there a way to display something like Feature 1 of X or something so that at least they have that detailed information available. I also noticed if the file is over 2gb it really

Re: [WiX-users] Disk Cost dialogs not show cost?

2007-05-09 Thread Magus
Is there any way to call that Publish event without a dialog? or a dialog that doesn't require user input to exit. Bob Arnson-6 wrote: > > Magus wrote: >> I check those out. The order of what I am doing >> NOT >> Installed >> Not >> Installed AND QUICK = 0 >> The "Options" custom action conta

[WiX-users] Run CustomAction on unsucessful installation

2007-05-09 Thread Carl Quirion
Hi, i want to run a CustomAction at the end of the installer if no product was installed (or installed was rolledback). This action would run if the user cancels the installation, if the installation fails, etc. After which action should i do that and which property should i look for? I tought ab

[WiX-users] Persist ini file parameters for use during reinstall, repair

2007-05-09 Thread Trevor Clifton
I am trying to feed some parameters into the msi when it runs the first time. This part works just fine. ARPHELPLINK="http://www.MyCompany.com"; CUSTOMLOGO=1 IMAGE1=1 IMAGE 2=1 IMAGE 3=1 MANUFACTURER="MyCompany Inc." PRODUCTNAME=" Driver Name" I need help knowing what to do so that those paramet

Re: [WiX-users] Errormsg on custom action & remove default userinfo

2007-05-09 Thread Stefan Krueger [MVP]
To abort the install from a DLL custom action have the DLL return something different from ERROR_SUCCESS and make sure your custom action is configured to evaluate the return value. >From the SDK docs for the USERNAME and USERNAME properties: Set the NOUSERNAME property to suppress the automatic

Re: [WiX-users] Feature Condition not evaluating correctly

2007-05-09 Thread Stefan Krueger [MVP]
Component and Feature conditions are both evaluated during the CostFinalize action, so you can't base them on user selection. You could place the component in a separate feature and select it using the AddLcal control event on the "Next" button of the dialog. -- Stefan Krueger Microsoft Window

Re: [WiX-users] WiX3 Nant Tasks

2007-05-09 Thread Neil Sleightholm
Do you have preferred "diff" format? Neil From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: 09 May 2007 14:31 To: Bob Arnson; Neil Sleightholm Cc: wix-users@lists.sourceforge.net Subject: RE: [WiX-users] WiX3 Nant Tasks Yeah, like Bob said. From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [WiX-users] odd Repair issue

2007-05-09 Thread John Lalande
That found the problem. Thanks Bob! And Phil... It certainly is related to the scheduling of RemoveExistingProducts which I have after InstallValidate. One of the files had a version of 2.0.0.0 before the May 2 daily build, then in the May 3 daily build, the version of this file was 0.0.0.0, w

Re: [WiX-users] How revoke a security group on a file

2007-05-09 Thread NUNZIANTE GAITO (SA/ERI)
Hi, excuse me, I Thought that you said "Not today" because you was busy. Therefore, the Wix toolset doesn't allow to realize this requirement today. Thank you, Nunzio -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 09, 2007 3:30 PM To: NUNZIANTE GAITO

Re: [WiX-users] WiX3 Nant Tasks

2007-05-09 Thread Rob Mensching
Yeah, like Bob said. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson Sent: Tuesday, May 08, 2007 10:59 PM To: Neil Sleightholm Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX3 Nant Tasks Neil Sleightholm wrote: It looks like it is a bug in CandleTask.cs,

Re: [WiX-users] How revoke a security group on a file

2007-05-09 Thread Rob Mensching
As I said below, there is no support for doing this today in the WiX toolset. Your requirement is very strange. You'll need to build your own CustomAction or modify your application to not have this requirement. I would recommend the latter. -Original Message- From: [EMAIL PROTECTED]

Re: [WiX-users] CustomAction Feedback and shortcut order

2007-05-09 Thread Rob Hamflett
Thomas B wrote: > I tried creating a dialog to show but launching that if > the CDkey entered was wrong causes the user-registration dialog to close > (Using NewDialog). Try using SpawnDialog instead. Rob - This SF.net em

Re: [WiX-users] run a dos command through wax

2007-05-09 Thread Hooman Amini
I know but I have to take this scenario anyway. Tomcat behaves so dodgy in my scenario. Cheers, Hooman _ From: Simon Dahlbacka [mailto:[EMAIL PROTECTED] Sent: 09 May 2007 13:41 To: Hooman Amini Cc: Mike Dimmick; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] run a dos command

Re: [WiX-users] run a dos command through wax

2007-05-09 Thread Simon Dahlbacka
Not knowing anything about your specific scenario, but generally deleting folders over which you don't have control seems like a Bad Idea On 5/9/07, Hooman Amini <[EMAIL PROTECTED]> wrote: The problem is the folder is not empty and I have no idea during the installation that what it may contai

Re: [WiX-users] run a dos command through wax

2007-05-09 Thread Hooman Amini
The problem is the folder is not empty and I have no idea during the installation that what it may contain. I just need to remove the folder. do you have a code to do it. I already tried removefiles with wildcard option but it doesnt delete all the files and folders inside the parent directory anyw

[WiX-users] CustomAction Feedback and shortcut order

2007-05-09 Thread Thomas B
Hi is there some nice way to create feedback on a custom action like a CD-Key check? I tried creating a dialog to show but launching that if the CDkey entered was wrong causes the user-registration dialog to close (Using NewDialog). I also tried setting a label to [CDKErrorMessage] and setting CDK

Re: [WiX-users] How revoke a security group on a file

2007-05-09 Thread NUNZIANTE GAITO (SA/ERI)
Hi, could you only tell me if this thing is realizable? For Rob Mensching: have you a suggestion for me? Thank you and Best Regards, Nunzio -Original Message- From: NUNZIANTE GAITO (SA/ERI) Sent: Tuesday, May 08, 2007 9:38 AM To: wix-users@lists.sourceforge.net Subject: RE: [WiX-users]

Re: [WiX-users] Dll dependent Custom Actions

2007-05-09 Thread Richard.Foster
Lav, Aside from the usual "Custom Actions are [nearly always] evil" type statements, the best thing to do is code your custom action via some other mechanism. Ideally, a custom action should not have any dependencies, since you do not know what will and will not be present on the machine wh

[WiX-users] Dll dependent Custom Actions

2007-05-09 Thread lav.gupta
Hi, I've a custom Action which uses an exe.This exe is refering to another dll. How can I make this dll available to the exe during installation,As it is failing during installation with error "Unable to load dll or it's dependencies" ? Regards, Lav ---

Re: [WiX-users] Progress bar overall instead of per feature

2007-05-09 Thread Rob Hamflett
I don't think there is. I experimented with this a while back and basically asked the same question on one of the MSI forums. What you have to do is guess how long it takes, and adjust your guess as you get results back. Not exactly what you want I know. Thankfully I was able to abandon th

[WiX-users] Tutorial on update?

2007-05-09 Thread Kevin Burton
Would it be possible for someone to give me a brief tutorial on and building a patch. I have read the tutorial on-line but that does and explains more than I want to do. I am having a hard time separating out what I want to do and what is presented. I think I just need a jump-start. I don't want t