Re: [WiX-users] "ifndef" not working

2007-05-24 Thread Rob Mensching
Ifdef/ifndef doesn't work against env. vars today. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bei Liu (Volt) Sent: Thursday, May 24, 2007 3:28 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] "ifndef" not working I have wxs include the following:

Re: [WiX-users] ServiceInstall Problem

2007-05-24 Thread Aaron Stebner
I've seen this in the past on Windows Vista with services that depend on the VC 8.0 runtimes and the VC 8.0 runtimes are also being installed in the same MSI. The event viewer should show messages if that is the case. If this does happen to be the case in your scenario, there is some info in th

Re: [WiX-users] ServiceInstall Problem

2007-05-24 Thread Matthew Janulewicz
Hm. Interesting. You might also check in the Windows Event Viewer. Once in a while useful info crops up in there. :-) -Matt _ From: Pankaj Savdekar [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 5:22 PM To: Matthew Janulewicz; wix-users@lists.sourceforge.net Subject

Re: [WiX-users] ServiceInstall Problem

2007-05-24 Thread Pankaj Savdekar
Thanks Matt. Currently I'm using default (Local system Account). Problem is it works fine (with same setting) when I use '-service' option and install it manually, but when I use msi (ServiceInstall) it gives me error 1053. Pankaj Subject: RE: [WiX-users] ServiceInstall ProblemDate: Thu, 24 M

Re: [WiX-users] ServiceInstall Problem

2007-05-24 Thread Matthew Janulewicz
One common mistake I make over and over again is that I install the service (using the .msi) as a user who does not have access rights to do so (log on as a service.) -Matt _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pankaj Savdekar Sent: Thursday, May 24, 2

[WiX-users] ServiceInstall Problem

2007-05-24 Thread Pankaj Savdekar
Hi All, I'm facing one problem using ServiceInstall. I have one ATL windows service which works fine when I manually register it (Service.exe -service). But service gives following error, when I install it using installer made using ServiceInstall element. Error 1053: The service did not res

[WiX-users] - Changing "OK" button to "Close" button.

2007-05-24 Thread Sankaranarayanan
Hi, We have LaunchConditons defined in node under node suh as (VersionNT>=501) When the User tries to install the MSI in any OS released prior to Windows XP - then a pop up appears with the message specified and a "OK" button by default. I want the button text to read "Close" inste

Re: [WiX-users] How to improve speed of installation?

2007-05-24 Thread Mike Dimmick
The code suppressed by -sh is also responsible for recording the file sizes. Windows Installer then doesn't know how large the files are overall, so can't give you a decent progress report. My feeling is that -sh should probably just suppress the hashing - version info and size are very important,

[WiX-users] Choose Website Using A ComboBox Example

2007-05-24 Thread ste
Hi, Many people seem to be asking how to add a dialog to an installer which will allow a user to select a website from a drop down list. I have posted one such solution on my homepage - which may give you a heads up. I spent an age trawling the Wix-Users list gathering snippets, so i decided t

Re: [WiX-users] How to improve speed of installation?

2007-05-24 Thread Igor Maslov
Using -sh improved installation speed by 10%. Speed of link time was not affected (or almost was not). Also behaviour of the progress bar changed. Instead of showing progress smoothly, it shows the progress of each individual file. Any idea why? Mike Dimmick-2 wrote: > > The more compone

[WiX-users] "ifndef" not working

2007-05-24 Thread Bei Liu (Volt)
I have wxs include the following: I expect the version will be 1.0.0.0 if environment variable "Version" is not defined and When environment variable "Version" is defined for example 2.0.0.0, the version will be the 2.0.0.0. However, I always get 1.0.0.0, no matter what the

Re: [WiX-users] How to improve speed of installation?

2007-05-24 Thread Igor Maslov
Yes, I'm asking myself whether it was a wise decision to move to MSI. It's not an internal install, it's retail product. We had our custom program in C++ and custom upgrade solution. It was working fine. Now problems I'm fasing with MSI and WiX: 1. This probably comes from my insufficient kn

Re: [WiX-users] How to improve speed of installation?

2007-05-24 Thread Matthew Janulewicz
At the risk of sounding anti-wix (I'm very pro-wix!) you might ask yourself if you need an installer at all. If you're not doing any kind of upgrades, uninstalls, etc., and everything is content... Why not just a DVD with a simple batch file that copies everything and creates shortcut(s)? It can ea

Re: [WiX-users] How to improve speed of installation?

2007-05-24 Thread Igor Maslov
Thanks, That's exactly kind of info I needed. 1. Seems that -sh is a solution for me. I don't use Windows Installer for upgrades. It's always a full install. 2. I generate single WiX file with all source files listed there. All I need is to lay out files on dvd in the same order as they are lis

Re: [WiX-users] How to improve speed of installation?

2007-05-24 Thread Igor Maslov
My "slow speed" comes from the "File copying" phase. I.e. all steps are running quite fast, but when I see "Copying Files" on a progress dialog it's where it takes most of the time. I have 3GB of files, some of them are quite big, up to 100 Mb, and already compresssed. It takes about 25-30 min

Re: [WiX-users] How to improve speed of installation?

2007-05-24 Thread Mike Dimmick
The more components there are, the more checking has to be done (of KeyPaths) to determine what needs to be copied. You could potentially increase the number of files per component, but be aware that: - a component is only installed if its KeyPath is determined to be out-of-date (older file versio

Re: [WiX-users] How to improve speed of installation?

2007-05-24 Thread Wilson, Phil
I'd do the install (and uninstall) while taking a log to identify where the time is going. It's probably a costing or validation, but without data it's just guesswork. 1. What's that saying? "More computing sins have been committed for the sake of performance than anything else". You shouldn't b

Re: [WiX-users] adding NEWORK SERVICE group with full control permission

2007-05-24 Thread Ravit Shapira
Thank you very much!!! I tested it works. Ravit From: Mike Dimmick [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 12:56 PM To: Ravit Shapira; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] adding NEWORK SERVICE group with full control permission

Re: [WiX-users] adding NEWORK SERVICE group with full control permission

2007-05-24 Thread Mike Dimmick
NETWORK SERVICE is not under the local computer authority but instead under NT AUTHORITY. It has to be built using a well-known SID. The Windows Installer built-in LockPermissions table does not know how to do this. WiX's extended permissions feature, however, can. For WiX v2, specify . For Wi

Re: [WiX-users] How to improve speed of installation?

2007-05-24 Thread Igor Maslov
Hello everybody, Thank you very much for your advices. I tried several options but an issue still remains. I was wondering if changing the way I organize components and media can affect install speed. What will perform faster: 1. Having 1 component per file, or putting large number of files in

Re: [WiX-users] Are ICE45 warnings expectedwith ElevationShield="yes"?

2007-05-24 Thread Mike Dimmick
ERROR_MORE_DATA (error number 234, hex 0xEA) indicates that the buffer you supplied was too small but that the function returned some data. MsiRecordGetString returns this value, for example, if the buffer is too small. This may well be a coding error in one of the ICEs. Does Light give a call sta

Re: [WiX-users] Fwd: How to display a the installation folder on the UI?

2007-05-24 Thread Pally Sandher
Hi, [INSTALLDIR] That should work without needing the Localization string as it appears to localise whatever is inside the tags as a matter of course at install time. It certainly works for me & you can put other text around the identifier if you like. See http://wix.sourceforge.net/manual

Re: [WiX-users] Are ICE45 warnings expected with ElevationShield="yes"?

2007-05-24 Thread Anthony Wieser
Hmm. I copied the one from my 120 folder from the Vista SDK, which has the same size but a different date, and now I get a crash from light: Error LGHT0216: An unexpected Win32 exception with error code 0xEA occurred: More data is available I guess I'll live with the earlier warning instead. A

Re: [WiX-users] NAnt and WiX

2007-05-24 Thread Rob Mensching
The WiX toolset has Nant tasks. Those Nant tasks are used to build the WiX .msi. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gourlay, Colin Sent: Thursday, May 24, 2007 9:05 AM To: Ryan Lovelett; wix-users@lists.sourceforge.net Subject: Re: [WiX-users

Re: [WiX-users] Using heat.exe as part of an automated build process

2007-05-24 Thread Rob Mensching
1. Yes. You are correct. Many tools in Visual Studio still encourage self registration. It has been a long hard fight (6 years or so) and I’m just starting to get people over there that understand what a horrible example they are setting. Some of them have asked, “Why is deployment so hard”

Re: [WiX-users] Using heat.exe as part of an automated build

2007-05-24 Thread Gourlay, Colin
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dyson, Peter Sent: 21 May 2007 10:58 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Using heat.exe as part of an automated build Although Rob et al, don't recommend this approach we have been u

Re: [WiX-users] NAnt and WiX

2007-05-24 Thread Gourlay, Colin
> I cannot find on NAnt or NAntcontrib that implements the WiX >tasks To the best of my knowledge an implementation in NAnt does not exist - however you could use the task like so... Hope this helps Colin -Original Message- From: [EMAIL PROTECTED] [mailto

Re: [WiX-users] Using heat.exe as part of an automated build process

2007-05-24 Thread Rob Mensching
0. Okay, so you're looking for "simplistic code divination". 1. I've never met a dev team that when presented with the option of doing more work accepted (unless it was some cool graphics work or something). Distributed development rarely happens because each developer says, "Ooh, I want

Re: [WiX-users] Using heat.exe as part of an automated build process

2007-05-24 Thread Rob Mensching
Yes, as long as you have no other shared resources (registry keys? Common files folder?). Essentially, changing the path makes none of those files shared. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Wieser Sent: Tuesday, May 22, 2007 12:23

Re: [WiX-users] Using heat.exe as part of an automated build process

2007-05-24 Thread Rob Mensching
Well said, Dacian. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of fiordean dacian Sent: Wednesday, May 23, 2007 2:00 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Using heat.exe as part of an automated build process Scott, Not everything that goes into the insta

Re: [WiX-users] RegisterClassInfo / RegisterProgIdInfo not called?

2007-05-24 Thread Rob Mensching
To get the actions with the standard sequence numbers, you should only need add the standard action element to the sequence by itself. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick Sent: Wednesday, May 23, 2007 11:50 AM To: 'Pseudonymic Wan

Re: [WiX-users] Wix Version

2007-05-24 Thread Rob Mensching
IMHO, that is a very good attitude to have. WiX v3 will go through bumps between here and the beginning of next year. Unless you're willing to continually grab new builds (from http://wix.sourceforge.net/releases) and help us debug issues that may arise (which we would very much appreciate) th

Re: [WiX-users] Wix Version

2007-05-24 Thread Trevor Clifton
Darren, If Wix v2 was used to ship Office 2007, then it ought to be good enough to use for your application for the next couple of years. Besides, when the time comes that v3 becomes stable, the WiX folks have an upgrade path that will convert from v2 source to v3 (called wixcop) and that could

[WiX-users] Query related to Wix

2007-05-24 Thread kalyani metuku
Hi, We are using Wix in our project to create an installer package. We need to access the public methods(taking custom parameters) of a dll to install the components. We also have public events in our dll. We need to access these methods, events and delegates to to install the components.

Re: [WiX-users] WiX and string formatting

2007-05-24 Thread Richard.Foster
To clarify Rennie's comment... Yes, you will need a custom action, but not one that you code manually. The already available "Type 51" custom action (see the element, specifically the "Property" attribute) should be able to handle what you need if the user just enters the server name. (I.e it

Re: [WiX-users] WiX and string formatting

2007-05-24 Thread Rennie Petersen
I believe that you will need a custom action. WiX creates MSIs. It does not replace or enhance Windows Installer, and it is Windows Installer that drives the UI during the installation. Rennie From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Beh

[WiX-users] Patch cannot be created.

2007-05-24 Thread Ratula Das, HCL-Industry Solutions
Hi All, I am very much new to the Wix ToolSet. I am unable to create a patch for a particular application. After compiling and linking the source of the Patch (Patch.wxs), I am executing the command Msimsp.exe -s Patch.pcp -p Patch.msp -l Patch.log. This command is creating the .pcp and the

[WiX-users] WiX and string formatting

2007-05-24 Thread Rik
Hi All, Does anyone know if it is possible to format strings via WiX? I'd like to be able to manipulate a string entered via the UI so that it conforms to a certain format. The scenario I have is that I have a URL value that I want to insert a port number into). E.g. from tcp:\\server\ to t

Re: [WiX-users] Am I using a property and condition correctly

2007-05-24 Thread Gareth at Serif
You need a "1" in your new dialog publish too... 1 -- View this message in context: http://www.nabble.com/Am-I-using-a-property-and-condition-correctly-tf3801422.html#a10780538 Sent from the wix-users mailing list archive at Nabble.com. -

[WiX-users] Fwd: How to display a the installation folder on the UI?

2007-05-24 Thread Rik
Fixed it! I had to create a Wix Localization string, and use that string in the text control: [INSTALLDIR] ... Thanks for the help! Rik -- Forwarded message -- From: Rik <[EMAIL PROTECTED]> Date: 24-May-2007 10:06 Subject: Re: [WiX-users] How to display a the installatio

Re: [WiX-users] How to display a the installation folder on the UI?

2007-05-24 Thread Rik
Hi Matt, Thanks for the tip. I've increased the width of the control to 250, which should be plenty I guess, but it's not made any difference. The Users can choose a different installation location, but this is done earlier in the UI sequence using the standard CustomizeDlg. On the screen I'm c

[WiX-users] How to change the uninstall behavior of web site in wix2.x

2007-05-24 Thread Liangqin Sun (Person Consulting)
Hi all, I created a web site using wix2.x. The installer can create a web site with the name specified by user and the installer will remove the whole web site on uninstall. If we specify a web site name which is already existing, the install will create virtual dir under the existing web site,