Re: [WiX-users] Nested installation of downloaded prerequisites

2010-03-02 Thread Lisa Gracias
Would it be alright to call an msi/exe from the UI sequence of another msi, i.e., before the execute sequence of the parent msi even begins? I've tried this out and it seems to work. I was wondering if there are any hidden side effects. On Thu, Feb 25, 2010 at 3:37 AM, Sascha Beaumont wrote: > Un

[WiX-users] WIX Installer with CD Key verify

2010-03-02 Thread salever.lee
Hi, Does some one have an idea about cd-key verify during product installation in UI? For example, after the license agreement dialog, a customed dialog follows, and it requires users to input some codes to check.Is there any better way? 2010-03-03 salever.lee ---

[WiX-users] Configure apache service after files has been copied

2010-03-02 Thread Bimali Ponnamperuma
Hi , I have a feature to copy Apache files into the installation folder. Then i need to configure the apache serive by running command "httpd.exe -k install -n " ApacheforLS" " To run this command i need to go ino the bin folder and do.. How can i do this from wix code it self ?? ---

[WiX-users] Uninstall failure in full UI mode when per Machine installation is used

2010-03-02 Thread 万 毅
Hello, everyone I am experiencing an strange problem when I install with per Machine scope. I have the following properties defined to configure the name and port of my IIS web site. I was using per User scope and it worked perfectly. However, when I changed it to per Machine, strang

Re: [WiX-users] File from local location

2010-03-02 Thread Sascha Beaumont
If you do use an empty file and want the file to be "looked after" by Windows installer for patching, repair, etc - you can update the filesize information post-build. Something like the following should work (this is a somewhat simplified version of an actual script we use) Const MSI_SOURCE = "ap

Re: [WiX-users] Preventing downgrades as a launch condition

2010-03-02 Thread Sascha Beaumont
MSI sees 1.2.3.10 and 1.2.3.9 as 1.2.3 - so they appear as the same version. In order to prevent a downgrade on a 4th field change, you can rely on the (documented) fact that MSI ignores the 4th field to prevent installs where the version numbers are identical to Windows Installer. I use the follo

Re: [WiX-users] Checking the space in the install path(Please help me)

2010-03-02 Thread Sascha Beaumont
If the issue is a registry key or something that includes the file path, you could use the property [!filename] to get the short filename of "filename" and write that to the registry. See http://msdn.microsoft.com/en-us/library/aa368609(VS.85).aspx for more information on the formatted text type.

[WiX-users] Install file A xor file B w/ same name?

2010-03-02 Thread JKLists
I have two sets of files to install, call them A and A' they have the same file name. I have them in different component groups and different features. I only want to install either one feature or the other, never both. The selection is controlled by a bootstrapper. The compiler is complaining

Re: [WiX-users] "Pause" the PrepareDlg dialog?

2010-03-02 Thread pmdarrow
Oh I just came up with an idea - have you tried scheduling a custom action directly after your PrepareDlg that sleeps for a few seconds? I used this and it seemed to work: Product.wxs: 1 CustomAction.cs: using System; using Microsoft.Deployment.WindowsInstaller; namespace ManagedCA {

Re: [WiX-users] "Pause" the PrepareDlg dialog?

2010-03-02 Thread pmdarrow
Oh, if you just use the source from WiX's PrepareDlg and use your own custom strings, then shouldn't it be identical? Sorry I haven't provided exactly what you're looking for, just trying to give back to the WiX community by helping out :) -- View this message in context: http://n2.nabble.com/Pa

Re: [WiX-users] "Pause" the PrepareDlg dialog?

2010-03-02 Thread Tabmow
pmdarrow wrote: > > Is this what you are looking foror, or do you want the version with the > actual text on it? http://www.wixwiki.com/index.php?title=PrepareDlg > > I can get a screenshot of it for you if that link isn't good enough. > Thanks very much - that is the one. However, as i men

Re: [WiX-users] "Pause" the PrepareDlg dialog?

2010-03-02 Thread pmdarrow
Is this what you are looking foror, or do you want the version with the actual text on it? http://www.wixwiki.com/index.php?title=PrepareDlg I can get a screenshot of it for you if that link isn't good enough. -- View this message in context: http://n2.nabble.com/Pause-the-PrepareDlg-dialog-tp4

Re: [WiX-users] "Pause" the PrepareDlg dialog?

2010-03-02 Thread Tabmow
pmdarrow wrote: > > Is this the dialog you're referring to? http://i46.tinypic.com/6e20hv.png > No, not that one - the one right after. I thought 'PrepareDlg' was what it was called. I think the default text starts with "Please wait while the Setup Wizard prepares to guide you through the i

Re: [WiX-users] "Pause" the PrepareDlg dialog?

2010-03-02 Thread pmdarrow
Why not just take a screenshot the moment the dialog pops up? If you've never done it before, hit the PrtScn button on your keyboard to take the screenshot and then press Ctrl-V in any program that accepts images (MS Paint does the job). -- View this message in context: http://n2.nabble.com/Paus

Re: [WiX-users] "Pause" the PrepareDlg dialog?

2010-03-02 Thread pmdarrow
Is this the dialog you're referring to? http://i46.tinypic.com/6e20hv.png -- View this message in context: http://n2.nabble.com/Pause-the-PrepareDlg-dialog-tp4661534p4662679.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] File from local location

2010-03-02 Thread Wilson, Phil
So this file is nothing to do with the actual install, and it will never be patched, right? If that's the case then you're copying it yourself, or perhaps with Windows Installer's MoveFile action to have it copied from SourceDir to TARGETDIR. Phil Wilson -Original Message- From: hil

Re: [WiX-users] Launch notepad in foreground

2010-03-02 Thread Wilson, Phil
This is usually a losing game. http://blogs.msdn.com/oldnewthing/archive/2009/02/20/9435239.aspx plus discussion Can you arrange to have the install complete while Notepad continues to run? If you launch it completely asynchronously the install will go away and leave it there. Phil Wilson

Re: [WiX-users] "Pause" the PrepareDlg dialog?

2010-03-02 Thread Tabmow
pmdarrow wrote: > > Why not just take a screenshot the moment the dialog pops up? If you've > never done it before, hit the PrtScn button on your keyboard to take the > screenshot and then press Ctrl-V in any program that accepts images (MS > Paint does the job). > I would love to do that (i'

Re: [WiX-users] Preventing downgrades as a launch condition

2010-03-02 Thread Wilson, Phil
The solution in the tutorial is fine. It's the way that "everybody" detects versions based on UpgradeCode, old and new to prevent downgrades and perform upgrades. You have a problem in that the 4th digit of the ProductVersion isn't used anyway in major upgrades, so your upgrades will require y

Re: [WiX-users] Signing problems

2010-03-02 Thread Tom Crozier
I am using 6.0A and was going to try using a newer version. The strange thing I am seeing is how it will sign only when I change the default CompressionLevel (MSZip) to something else. I have tested both none and high and it will sign the msi. FYI the largest portion of the Media consists of sev

Re: [WiX-users] Signing problems

2010-03-02 Thread Uma Harano
I have never had any success signing any binary over 300MB. There is a limitation to the size of the file you can sign with SignTool.exe Microsoft has another tool called MakeCat.exe that you have to use for bigger files. -Original Message- From: Tom Crozier [mailto:tcroz...@rackwise.co

[WiX-users] Preventing downgrades as a launch condition

2010-03-02 Thread Ragnar Rova
Hi. I need a simple way to prevent downgrades a product in a wix based msi installer. The old defective way which I found was something along:         NOT CUR_VER or ProductVersion>=CUR_VER I want something which allows 1.2.3.10 to upgrade from 1.2.3.9. The version above just does a string

[WiX-users] Hide publisher value in support Info window

2010-03-02 Thread Igor Solodovnikov
There is a "Click here for support information" link in "Add or remove programs" applet. If you click that link "Support Info" window appears and that window contains "Publisher: " string. Is it possible to create msi package that will not show Publisher string at all? My client asks me to do this.

[WiX-users] "Pause" the PrepareDlg dialog?

2010-03-02 Thread Tabmow
Hi all, I know the PrepareDlg pops up (modeless dialog) briefly at very beginning, but is there a way to 'pause' it there or slow it down from disappearing so fast? I want to check one thing out on the layout and it disappears too fast for me to tell. We have our own PrepareDlg defined (with

Re: [WiX-users] Signing problems

2010-03-02 Thread Pally Sandher
Sounds like a bug in signtool.exe or one of its dependencies (if any) if it works OK on smaller MSIs on the same machine. Which version of the Windows SDK are you using? I'm using signtool from the v6.1 SDK (have installed v7.0 but I've not gotten around to modifying my build scripts as yet) but t

[WiX-users] change install location from custom to default

2010-03-02 Thread Lisa Gracias
In my msi there are 3 types of installations listed in a radio button group in a setup type dialog - Default, custom, and complete. If Default or Complete is chosen, then the product is installed to ProgramFilesFolder. If the user chooses Custom then in the next dialog they can choose a custom loca

[WiX-users] Signing problems

2010-03-02 Thread Tom Crozier
All - I have had problems trying to sign one of my installers. Smaller msi's sign without any problem but I have an 800Mb msi file that will not sign. I have tried signing it on 2 different machines One of them gives me the error SignTool Error: ISignedCode::Sign returned error: 0x800920

Re: [WiX-users] .NET Custom Action fails intermittently on some machines

2010-03-02 Thread Michael Bednarek
Update: I installed/uninstalled the product 100 times on a particular machine (using a script) and the problem with my custom action occurred just once out of those 100 attempts From: Michael Bednarek Sent: 02 March 2010 08:37 To: General discussion for Windows Installer XML toolset. Subject

[WiX-users] .NET Custom Action fails intermittently on some machines

2010-03-02 Thread Michael Bednarek
Hi all, Our product fails to install (seemingly at random) once every so often. Once this failure occurs on a given machine, it is not usually possible to reproduce the problem again (re-installing the product will work fine). The machines on which the install fails are VMs which all come from

[WiX-users] Launch notepad in foreground

2010-03-02 Thread Lisa Gracias
In my msi I have a custom action that launches notepad.exe with a Readme document after installation is complete. Sometimes notepad launches in the background, behind other windows. Is there any way to force it to the foreground? I found this question asked earlier but there were no replies. http:/