[WiX-users] Wix Version

2007-05-24 Thread darrenstone
Some general advice required. I have an application being delivered in November that will use Wix for packaging. This application will be the first to use it but it will be rolled out to other applications througout 2008. My query then is what version of Wix people would recommend I use (i.e.

[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,

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

[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: WixLocalization String Id=Dlg_InstallDir[INSTALLDIR]/String /WixLocalization ... Control Type=Text Width=160 Height=10 X=124 Y=140 Id=txtLocationValue Text=$(loc.Dlg_InstallDir)/ Thanks for the

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... Publish Event=NewDialog Value=[WixUI_WEBConfigToReadyToInstall_Next]1/Publish -- 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

[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

[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

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

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 CustomAction element, specifically the Property attribute) should be able to handle what you need if the user just enters the server name.

[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 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

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)

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

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

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
0. Okay, so you're looking for simplistic code divination. smile/ 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). smile/ Distributed development rarely happens because each developer says,

Re: [WiX-users] NAnt and WiX

2007-05-24 Thread Gourlay, Colin
I cannot find on NAnt or NAntcontrib that implements the WiX candle tasks To the best of my knowledge an implementation in NAnt does not exist - however you could use the exec task like so... target name=compile-source-files echo message=Compiling the WiX source files.../ sleep

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

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

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:

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.

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

2007-05-24 Thread Pally Sandher
Hi, Control Type=Text Width=160 Height=9 X=124 Y=60 Id=txtInstallLocationValue Text[INSTALLDIR]/Text /Control That should work without needing the Localization string as it appears to localise whatever is inside the text tags as a matter of course at install time. It certainly works for me

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

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

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

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] 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 be

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

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 to

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

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

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

[WiX-users] ifndef not working

2007-05-24 Thread Bei Liu (Volt)
I have wxs include the following: ?ifndef $(env.Version)? ?define version = 1.0.0.0 ? ?endif ? ?ifdef $(env.Version)? ?define version=$(env.Version)? ?endif? I expect the version will be 1.0.0.0 if environment variable Version is not defined and When environment variable Version is

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

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

2007-05-24 Thread Sankaranarayanan
Hi, We have LaunchConditons defined in Condition node under Package node suh as Condition Message='Sorry, You mus run WindowsXP or greater to install this product.' (VersionNT=501) /Condition When the User tries to install the MSI in any OS released prior to Windows XP - then a pop up

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

[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

[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

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,

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

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

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

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: ?ifndef