Re: [WiX-users] Customing WixUI

2009-07-02 Thread zett42
You need to copy WixUI_InstallDir.wxs into your project (I recommend to keep the fragment in a separate file for better modularization, but it's not a requirement). Change the Id attribute of the UI element to a random name and also change your UIRef accordingly. Then you are free to change everyt

Re: [WiX-users] How to define batch copy in wix?

2009-07-02 Thread Jiang, Chunyan (GE Healthcare)
Is there batch copy function in Wix? Or there is only file adding one by one? Could some one answer my question? Thanks in advance! Chunyan -Ursprüngliche Nachricht- Von: Jiang, Chunyan (GE Healthcare) Gesendet: Freitag, 19. Juni 2009 17:08 An: General discussion for Windows Installer

Re: [WiX-users] Third-party installation

2009-07-02 Thread Yu, Brian
Try using this http://dotnetinstaller.codeplex.com/ As far as I know, WIX doesn't support multiple msi's -Original Message- From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] Sent: 01 July 2009 16:21 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] T

Re: [WiX-users] How to reference a system environment variable?

2009-07-02 Thread Weber Stefan (IT)
i´ve never used it, but there is a standard Property "TempFolder" you could use, instead of searching the registry. Stefan -Ursprüngliche Nachricht- Von: Igor Paniushkin [mailto:ipaniush...@sdl.com] Gesendet: Mittwoch, 1. Juli 2009 17:01 An: General discussion for Windo

Re: [WiX-users] How does the WiX team generate wix.chm from wix.xsd?

2009-07-02 Thread Yu, Brian
If it helps, there's Adobe Robohelp Brian -Original Message- From: zett42 [mailto:sa...@gmx.de] Sent: 01 July 2009 16:40 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How does the WiX team generate wix.chm from wix.xsd? I assume you have some nifty tool to do this? I like th

Re: [WiX-users] Delete registry value

2009-07-02 Thread Yu, Brian
Regards Brian -Original Message- From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com] Sent: 29 June 2009 22:33 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Delete registry value Is there a way to delete registry value? -

Re: [WiX-users] Env variables don't get deleted

2009-07-02 Thread sandun css
No Rob. Those don't apply. On Thu, Jul 2, 2009 at 11:56 AM, Rob Hamflett wrote: > Setting Permanent="yes" on the Component or forgetting to give it a GUID > would make the env var > change permanent. Do either of these apply? > > Rob > > sandun css wrote: > > Hi, > > > > I set few env variables

Re: [WiX-users] How to reference a system environment variable?

2009-07-02 Thread Igor Paniushkin
It was already mentioned in the beginning of this conversation, that TempFolder points to temp folder of current user, which performs installation, but I need system temp folder. -Original Message- From: Weber Stefan (IT) [mailto:s.we...@noerr.com] Sent: Thursday, July 02, 2009 12:51 To

Re: [WiX-users] How to reference a system environment variable?

2009-07-02 Thread Peter Shirtcliffe
I dont know if this is applicable to your problem but if you just need a directory for your application to generate temporary files in or to do other work, you could create your own working directory under [CommonAppDataFolder]\. You control the location and you can set whatever permissions yo

Re: [WiX-users] Boolean paramaters

2009-07-02 Thread Sebastian Brand (Instyler Software)
Hello, All values except 0 and "" (empty string) are interpreted as TRUE. So you may use the condition MYFLAG AND (Installed OR (POWERSHELL >= "1.0")) and have the commandline "msiexec /i installer.msi MYFLAG=anyvalue" Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI inst

Re: [WiX-users] How to reference a system environment variable?

2009-07-02 Thread Rafael Rivera
Okay, I'll bite. Why do you need the Windows temporary folder vice the user's? Sent via BlackBerry from T-Mobile -Original Message- From: "Igor Paniushkin" Date: Thu, 2 Jul 2009 13:45:55 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to referen

[WiX-users] Can I control the UI when uninstall

2009-07-02 Thread zhihai guo
Hi Can I control the UI when uninstall in the xml? Thank you. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-use

Re: [WiX-users] Third-party installation

2009-07-02 Thread Chris Lord
Calling of one install from another is called chaining. It's not that WiX doesnt support chainingNot being able to "Chain" installs is a limitation imposed by Windows Installer technology which WiX uses. So any MSI you build has this limitation whether it's built using WiX or otherwise.

Re: [WiX-users] Env variables don't get deleted

2009-07-02 Thread David Bartmess
For what it's worth, here's the text from the schema description. Pay attention to the description of the remove action Specfies whether the environmental variable should be created, set or removed when the parent component is installed. This attribute's value must be one of the following: cre

Re: [WiX-users] Multiple Instance Transforms Walkthrough, Proposed Simple Addition to WiX to Make Them Easier

2009-07-02 Thread amrish
I am trying to create an MSI which will install a windows service multiple times on the same machine with a clientname appended to the end of each service instance (ServiceNameClientA). I take the servicename as input from the user and create the service with that name(e.g clientname). It will b

Re: [WiX-users] Env variables don't get deleted

2009-07-02 Thread Alex Shevchuk
My understanding of original problem is that environment variables are created on install, but not deleted on uninstall. Action="remove" must be used when environment variable needs to be deleted *on install*. As Rob already mentioned, there is nothing wrong with tag itself. Problem is somewhere

[WiX-users] How to embed a transform and use during install?

2009-07-02 Thread David Bartmess
I've got a transform that brands the client's installer and output to the correct images and names, and I've seen in other blogs that I can use the "TRANSFORMS=:TransformName" on the command line to use an embedded transform file, but I can't seem to get it to work. How do I need to do the embe

Re: [WiX-users] How to embed a transform and use during install?

2009-07-02 Thread Alex Shevchuk
Hi David, You can use WISubStg.vbs: WISubStg.vbs "full path to msi" "full path to mst" TransformName Command line for msiexec: Msiexec /I "full path to msi" TRANSFORMS=:TransformName At the very end of http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-7- customizing-ins

[WiX-users] Patching a file with the same name and source

2009-07-02 Thread Abdulla Al-Qawasmeh
Hi, I am trying to patch a file that has the name and source (but different content). So, I recompile the product .wxs file (which didn't change since only the file contents changed and the source and name didn't change) then I run torch then pyro. However, when I run pyro I get a warning that

[WiX-users] Missing Elevation Shield on Remove?

2009-07-02 Thread Quinton Tormanen
I am using WiX 3.0.5217.0 with WixUI_InstallDir. If I put the installer in maintenance mode and click the Remove option, then on the verify page (Ready to remove RMCTools 3.33.0d), the Remove button is missing the elevation shield. It shows up on a new Install (when the button is labeled Install).

[WiX-users] Simpler Cancellation

2009-07-02 Thread Quinton Tormanen
I've long been annoyed by the extra step when cancelling an install. When the user clicks the Cancel button, they are shown a popup confirming that they want to cancel, which is fine, but then they get one more screen saying that the installation was cancelled. I've seen installers that don't show

[WiX-users] Custom action behavior on Install vs Uninstall

2009-07-02 Thread Thorpe, Alan
(Reposting from early this morning... pardon if a double-post makes it through.) Can a Type 18 custom action have a dynamically designated command line property such that the target executable of the custom action is aware that it is being executed during installation or uninstallation? If so,

[WiX-users] Option checkbox in ExitDialog isn't transparent

2009-07-02 Thread Quinton Tormanen
I have a white background for my dlgbmp.bmp resource, like the one that WiX provides by default. I tried using WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT to allow the user to control whether our application is run at the end of the install. However, the entire checkbox control has a gray background. I s

Re: [WiX-users] Custom action behavior on Install vs Uninstall

2009-07-02 Thread Alex Shevchuk
>Can a Type 18 custom action have a dynamically designated command line >property such that the target executable of the custom action is aware >that it is being executed during installation or uninstallation? If so, >what internal variable can be used to determine the current condition of >the MSI

Re: [WiX-users] Option checkbox in ExitDialog isn't transparent

2009-07-02 Thread Quinton Tormanen
Sorry, I had searched for WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT in the bug database, but after posting I searched for "transparent" and found the issue right away (1669640). It's noted that there is no fix, which I understand. I promise that I tried to check that it wasn't already posted, but just

Re: [WiX-users] Boolean paramaters

2009-07-02 Thread Richard
In article <01c9fa0f$da2a52b0$8e7ef8...@com>, "Sebastian Brand \(Instyler Software\)" writes: > All values except 0 and "" (empty string) are interpreted as TRUE. Good point. I forgot about 0. But I generally use empty string for false. > So you > may use the condition > MYFLAG AND

[WiX-users] Uncompressed package and error finding files

2009-07-02 Thread Chris Bardon
I've been experimenting with creating msp files for all updates, and I've run into a strange problem. I read about having to create uncompressed cabs for a patch, so I created two different installers that upgrade a single text file, and actually managed to create the msp file, but then I notic

[WiX-users] Patching a product without elevation

2009-07-02 Thread Chris Bardon
My goal for getting patching to work is to be able to deploy an application that can be patched by a non-admin user, but I'm running into a problem. I've created the patching sample in the documentation, and the patch works when it's elevated, but whether or not it's signed, the patch is still

[WiX-users] renaming a file with install time argument

2009-07-02 Thread Eric Napier
I need to install and invoke an executable file. I also need to specify the file name at installation time (some of the arguments are taken from the file name).That is, at compile time I can include 'myfile.exe'. But at install time, I need to rename this file to SomeArgument.exe where SomeArgume

Re: [WiX-users] Patching a product without elevation

2009-07-02 Thread Rafael Rivera
Chris, Those elements appear to simply identify what certificate should be given the green light for patching. I believe you still need to digitally sign the resulting MSI using signtool.exe. - Rafael Chris Bardon wrote: > My goal for getting patching to work is to be able to deploy an applica

Re: [WiX-users] Patching a product without elevation

2009-07-02 Thread Chris Bardon
I did run signtool against the packages, with the command lines in the first part of the post. I also forgot to point out a couple of other changes to the demo code. I changed the installer version to 300, and I set ALLUSERS to 1 to make sure that I installed per-machine to start with. Someth

Re: [WiX-users] Patching a product without elevation

2009-07-02 Thread Rafael Rivera
MSI (c) (24:FC) [15:23:03:419]: Certificate of signed file 'C:\Users\STANDA~1\AppData\Local\Temp\13f7987.msp' differs in size with the certificate authored in the package How did you generate your .cer? - Rafael Chris Bardon wrote: > I did run signtool against the packages, with the command li

Re: [WiX-users] Option checkbox in ExitDialog isn't transparent

2009-07-02 Thread Neil Sleightholm
There is a workaround for this. Create a custom exit dialog and make the checkbox only the size of the tick, then put a label next to it. It works but means that the user needs to click the check area only, the label part doesn't work. Neil -Original Message- From: Quinton Tormanen [mailt

Re: [WiX-users] Patching a product without elevation

2009-07-02 Thread Chris Bardon
I used a CA on windows server 03 to create a code signing certificate (through the web enrollment tool), installed the cert to my dev machine's store, then exported from the store twice. Once to generate the PFX I used for signing, and then once for the .cer file I included in the msi. _

Re: [WiX-users] WriteMetabaseChanges: Error 0x80070057: failed to create web application

2009-07-02 Thread Mike Carlson (DEV DIV)
Make sure the IP, Port and Header all exactly match the website on the machine. These are the 3 things we use to determine if we've found the right website or not. Thanks, Mike Carlson -Original Message- From: troy hostetter [mailto:troy.hostet...@gmail.com] Sent: Wednesday, July 01, 2

[WiX-users] How to dynamically get current locale that my msi is built in?

2009-07-02 Thread Lian Jiang
Hi, I have a wixproj which specifies "en-us;es-es". As you know, compiling this wixproj will create two MSIs located in en-us folder and es-es folder respectively. My installer installs a UI product and need to place the corresponding resource file to the installation folder. For example, the