Re: [WiX-users] UI Designer

2009-10-20 Thread Dominique Louis
SharpDevelop has a design for WiX which I've used to tweak UI elements, and I think VS 2010 will have one built in as well, when that's released. Dominique. -Original Message- From: Slide [mailto:slide.o@gmail.com] Sent: 20 October 2009 04:32 To: General discussion for Windows Instal

Re: [WiX-users] WiX Controls: Expanding properties to text?

2009-10-20 Thread mrtn
Thank you for your answers. Using preprocessor variable will not be enough. Here is what I am trying to do (it might be crasy). My goal is to have one .msi file with localized UI for mulitple languages. Right now I have: Every string is put into a property! This is done in a custom action (tha

Re: [WiX-users] WiX Controls: Expanding properties to text?

2009-10-20 Thread Pally Sandher
I think the only way for you to have localised text in the remaining places would be to have a localised versions of the UI dialog(s) & condition showing the dialog depending on the language code. That would be a lot of copy & pasting & will likely increase your MSI file size. You could try to mini

Re: [WiX-users] Patch and major version in the same package

2009-10-20 Thread luciana istoc
Hi,   Thank you for the information. It is what I wanted to find out.   Luciana --- On Mon, 19/10/09, Blair wrote: From: Blair Subject: Re: [WiX-users] Patch and major version in the same package To: "'General discussion for Windows Installer XML toolset.'" Date: Monday, 19 October, 2009, 6:

Re: [WiX-users] UI Designer

2009-10-20 Thread Pally Sandher
Feature requested it more than a year ago -> https://sourceforge.net/tracker/?func=detail&atid=642717&aid=2026675&gro up_id=105970 WiXEdit is quite good for this as it previews your dialogs from the XML code in an almost "WYSIWYG" type editor -> https://sourceforge.net/projects/wixedit/ I wouldn't

Re: [WiX-users] UI Designer

2009-10-20 Thread Tim Musschoot
There is a limited-feature editor : I've used it in the past. It's not bad to get started quickly... -Oorspronkelijk bericht- Van: Pally Sandher [mailto:pally.sand...@iesve.com] Verzonden: dinsdag 20 oktober 2009 11:41 Aan: General discussion for Wind

Re: [WiX-users] UI Designer

2009-10-20 Thread Slide
Thanks for all the responses, I'll take a look at SharpDevelop and WixEdit, although I'd still like to contribute something to WiX as I've enjoyed using it :-) Thanks, slide On Tue, Oct 20, 2009 at 3:52 AM, Tim Musschoot wrote: > There is a limited-feature editor :

Re: [WiX-users] WiX Controls: Expanding properties to text?

2009-10-20 Thread mrtn
Thank you very much for your feedback. Maybe I will do a mix. My plan is that I will implement all UI from UIExtension, and only a few dialogs has these texts that are not beeing formatted. I still have to figure out how to handle: and Progress/Error texts I hope conditions can help me... // m

Re: [WiX-users] Patch and major version in the same package

2009-10-20 Thread Bob Arnson
luciana istoc wrote: > Is it possible to have a windows installer package that contains both the > patch and the major version? And when the user installs this package the > behavior to be the next one: > - if the major version is already installed on the PC, then only the patch is > installed >

[WiX-users] Issue in installing in 64 Bit OS

2009-10-20 Thread Natarajan, Thangaraj (MLITS)
Hi All, I need some help on identifying whether the OS is 64 Bit Version. Incase if is 64 bit I need to install the files in Program Files (x64) and incase of 32bit I need to install it in Program Files Folder. Can anyone let me know how to do this? It would be helpful. Thanks, Thangaraj Nataraja

[WiX-users] Bootstrapping in WIX

2009-10-20 Thread Afaque Khan
Hi, I am building a Simple setup which installs an application and two windows services. I want to know if there is any way by which you can check if MS SQL Express is installed in the system or not, and if it is not then launch the setup (.msi file) of the SQL express. The user should also hav

Re: [WiX-users] Bootstrapping in WIX

2009-10-20 Thread Slide
This is what I used as a reference. http://wix.mindcapers.com/wiki/Bootstrapper Thanks, slide On Tue, Oct 20, 2009 at 5:38 AM, Afaque Khan wrote: > Hi, > > I am building a Simple setup which installs an application and two windows > services. > I want to know if there is any way by which you c

[WiX-users] Patches way too big

2009-10-20 Thread nearnick
Hi I am creating patches from 2 installers, based on their wixpdbs. The installer I am creating is already a beastly 170+MB. When patching between the versions, even though the difference between the source directories is only a modification to a couple of dlls and an additional little text file,

Re: [WiX-users] Issue in installing in 64 Bit OS

2009-10-20 Thread Blair
The "ProgramFilesFolder" is %ProgramFiles(x86)% on 64-bit OSs and %ProgramFiles% on 32-bit OSs already. You don't need to do anything different. -Original Message- From: Natarajan, Thangaraj (MLITS) [mailto:thangaraj_natara...@ml.com] Sent: Tuesday, October 20, 2009 7:17 AM To: wix-users

Re: [WiX-users] Patches way too big

2009-10-20 Thread Blair
First: Load your MSI into Orca, then apply your MSP (in Orca) and look at the Patch table. Are there entries in there for files that you don't think you changed? Look in the File table. Did the sequence number change on any files you don't think you changed? If you have a decent XML editor/viewer,

Re: [WiX-users] Issue in installing in 64 Bit OS

2009-10-20 Thread Dave Kolb
You can test like this if you really need to but there is no such thing as a folder called "Program Files (x64)" only "Program Files (x86)". And the right thing should just happen if you set the architecture when building. - Dave -Original Message- From: Natarajan, Thangaraj (

[WiX-users] Wix 2.0 - Patching?

2009-10-20 Thread Craig Miller
Does anyone have any suggestions or links that explain the easiest way to create a patch for a Wix 2.0 wxs/msi file? E.g. I have an installer and the source WXS file for a Wix 2.0 installer that I now need to patch. The original installer has a custom UI that I'd like to replicate in the patc

[WiX-users] Question about product keys (PIDTemplate) and length of text box

2009-10-20 Thread kerberos
Hello, My license key generation software (based on how I'm seeding it) generates a 46 character -- that's 40 characters for key plus 6 characters for dashes -- license key. As part of the installation of my software I'd like people to enter the license key that they've been given. Unfortunately

Re: [WiX-users] (still) trying to install a PowerShell SnapIn using WiX

2009-10-20 Thread Michael_A
Mark Parker-2 wrote: > > Simon Dahlbacka wrote: >> On Mon, Sep 28, 2009 at 9:37 PM, Mark wrote: >> >>> I'm (still) trying to install a SnapIn using WiX and PSExtension. I'm >>> (still) getting the same error, however, which doesn't make any sense to >>> me, and I believe it's a bug in PSExten

[WiX-users] Beginner's Question on Multi Language Installer

2009-10-20 Thread Markus KARG
Hello Everybody, I am new to both, MSI technology in general and the WiX product in particular, but I have some experience with some old InstallShield products (pre-MSI-age). InstallShield allowed me to simply add translated strings for lots of languages, so one single setup.exe contained t

Re: [WiX-users] Beginner's Question on Multi Language Installer

2009-10-20 Thread Blair
You get German since that is the first one in your list of Cultures. MSI has never officially supported the scenario you describe directly. You are perfectly free to create per-language transforms and use an .EXE file to install your MSI with those transforms (the supported way). There are some wh

Re: [WiX-users] How to detect files presence and conditionally show a new added dialog page

2009-10-20 Thread little.forest
Thanks for your reply, Richard. Hmm, can you tell me how to use AppSearch to "locate folders"? "Use type 19 CA to set properties" - I guess you mean I'll need a dll or exe to detect and set the property, right? If so, is it possible that I can "reuse" my existing setting upgrade program? I alr

Re: [WiX-users] Wix 2.0 - Patching?

2009-10-20 Thread Blair
If your build system and your installer will allow administrative installs, you have three choices: 1. The pyro from MSI technique described by Peter. 2. The PatchWiz approach described as the "SDK" way in the WiX help. 3. What I call your preferred option. If your installer doesn't support admin

Re: [WiX-users] Beginner's Question on Multi Language Installer

2009-10-20 Thread Markus KARG
Blair, thank you for your kind help. To sum up, multi-language support actually (or: "officially") is not possible with a single .msi (or at least, not without either patching or transforming it before installation). What I do not understand under this circumstances is: Why can I add a LIST of c

Re: [WiX-users] How to detect files presence and conditionally show a new added dialog page

2009-10-20 Thread Blair
"Type 19" is You schedule it in the sequence tables like any other custom action, including using conditions. And, yes, on your "conditions to determine dialogs" question. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Tuesday, October 20, 2009 12:56 PM To

Re: [WiX-users] Wix 2.0 - Patching?

2009-10-20 Thread Craig Miller
Blair, Thanks for the helpful reply. Unfortunately I just found out that of the 53 installers I created last year, the one I now need to upgrade is the one where the UpgradeId was somehow left out. Looks like I won't be able to patch, major/minor upgrade this one at all. Boy, I sure wish MSI ha

[WiX-users] head and GUIDs

2009-10-20 Thread Daniel Hughes
If I use heat to harvest the contents of a folder, I can set it to either generated GUIDs then or at compile time, or by default to put in place holders. However if I set it to generate GUIDs then, I will get a different GUID each time I run HEAT. If I set it to generate GUIDs at compile time

[WiX-users] Heat and GUIDs

2009-10-20 Thread Daniel Hughes
If I use heat to harvest the contents of a folder, I can set it to either generated GUIDs then or at compile time, or by default to put in place holders. However if I set it to generate GUIDs then, I will get a different GUID each time I run HEAT. If I set it to generate GUIDs at compile time

Re: [WiX-users] How to detect files presence and conditionally show a new added dialog page

2009-10-20 Thread little.forest
Thanks Blair. Frankly, I'm not getting what you just said. I'm afraid that I couldn't translate your instructions to be actual code and make it work. Is it possible to provide some step by step instructions? I'd just like it more specific. (Even I've being dealt with Wix for more then 10 mont

Re: [WiX-users] Heat and GUIDs

2009-10-20 Thread Brian Rogers
Hey Daniel, Are you sure you are getting NEW GUIDs when using the "*" (-ag switch in heat.exe)? These should actually be static. Thanks, Brian Rogers "Intelligence removes complexity." - Me http://blogs.msdn.com/icumove <-- NEW On Tue, Oct 20, 2009 at 2:47 PM, Daniel Hughes wrote: > If I use

Re: [WiX-users] Heat and GUIDs

2009-10-20 Thread Daniel Hughes
the help about -ag says: "autogenerate component guids at compile time" I assumed this would mean that each time it is compiled a new guid was generated. If in fact the guid is static as you say, it must be recorded somewhere (all the file has in it is "*"), ie wix would have to know what guid

Re: [WiX-users] Heat and GUIDs

2009-10-20 Thread little.forest
I also run into a GUID and "*" related issue: I have all of the components use * as the GUID. For one specific component, however, I always get an "xxx component has a duplicate GUID: {...}" when I use Visual Studio 2008 to compile it. I'll have to give it an actual GUID, then it compiles okay.

Re: [WiX-users] Wix 2.0 - Patching?

2009-10-20 Thread Blair
Actually you can patch without UpgradeID. UpgradeCode isn't used for Minor Upgrades or Small Updates. You can't easily or reliably perform automated Major Upgrades, however. If you patch, I would recommend adding the UpgradeCode via the patch. The product with the missing ProductId: There are ways

Re: [WiX-users] How to detect files presence and conditionally show a new added dialog page

2009-10-20 Thread Blair
I don't know the logic you are looking for, but here is one possibility (may not be your correct logic, but if you can read this, check the documentation, and determine what it will do, you should then understand what you need to do to implement the logic you are looking for. NOT

Re: [WiX-users] Beginner's Question on Multi Language Installer

2009-10-20 Thread Bob Arnson
Markus KARG wrote: > What I do not understand under this circumstances is: Why can I add a LIST > of cultures to light.exe? I mean, what does it actually do with all the > cultures if actually always taking just the first in the list? > It uses all of them to support fallback from available loca

Re: [WiX-users] How to detect files presence and conditionally show a new added dialog page

2009-10-20 Thread Bob Arnson
Blair wrote: > "Type 19" is > That's a 51, actually. 19 is error, which quite different. -- sig://boB http://joyofsetup.com/ -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only deve

Re: [WiX-users] Question about product keys (PIDTemplate) and length of text box

2009-10-20 Thread Bob Arnson
kerbe...@noopy.org wrote: > how WIX would allow me to format the *width* of each text box so that > it fits my license key WITHOUT any extra characters. MSI doesn't support that, though you can probably come close using a fixed-width font. -- sig://boB http://joyofsetup.com/ --

Re: [WiX-users] Beginner's Question on Multi Language Installer

2009-10-20 Thread Blair
It looks for the strings in all of the .wxl files sorting them in order of Culture, based on the order of the -Cultures parameter followed by the order the wxl files appear in the commandline. Example without using cultures, but placing the wxl files in numbered order: One.wxl: ...This is the ove

Re: [WiX-users] How to detect files presence and conditionally show a new added dialog page

2009-10-20 Thread Blair
You're right, I didn't look it up, but it was given in the context of setting properties, not aborting installations. A type 19 looks like this: Error Message Where is an integer that is your Installer error value. Use ones MSFT didn't define for your errors, above some number I don't remember

Re: [WiX-users] Heat and GUIDs

2009-10-20 Thread Blair
When a component's guid is authored as "*" it uses an algorithm that hashes the keypath including directory path up to the last "well-known" folder/property name. That results in extremely stable component guids as long as you don't move the guid into a different directory path or change the name o

Re: [WiX-users] How to detect files presence and conditionally show a new added dialog page

2009-10-20 Thread little.forest
Hi Blair, Thank you so much. I really appreciate your detailed reply. The code example you provided is clear and neat. Basically, we'd like to do these: 1. Detect if we need to do a setting migration: look into "[AppData]\MyCompany\MyApp 3.0" folder and "[AppData]\MyCompany\MyApp 2.0" folder.

Re: [WiX-users] Heat and GUIDs

2009-10-20 Thread Daniel Hughes
Thanks Blair, I think that answers my question. What you are saying implies that there is no random component to the GUID generation, So it is not randomly generated (as is the case with standard guid generation) at compile time but is worked out at compile time based on stuff that shouldn't ch

Re: [WiX-users] Question about product keys (PIDTemplate) and length of text box

2009-10-20 Thread kerberos
On Tue, Oct 20, 2009 at 8:01 PM, Bob Arnson wrote: > kerbe...@noopy.org wrote: >> how WIX would allow me to format the *width* of each text box so that >> it fits my license key WITHOUT any extra characters. > > MSI doesn't support that, though you can probably come close using a > fixed-width fon

Re: [WiX-users] Heat and GUIDs

2009-10-20 Thread Blair
The two guids that are "truly" randomly generated are the package and product guids. The component guid is intended to be deterministic and so is the result of an algorithm. The switch in heat says "automatically generated". It doesn't say "random". It is possible for two different paths to produc

Re: [WiX-users] How to detect files presence and conditionally show a new added dialog page

2009-10-20 Thread Blair
Can you live with the existence (or lack thereof) of those two settings directories? Does it matter if they are empty or not? I would assume that if the 3.0 one didn't exist but the 2.0 one does, you have a better than even chance you have data to upgrade. Anytime you can use a built-in custom acti

Re: [WiX-users] How to detect files presence and conditionally show a new added dialog page

2009-10-20 Thread Richard
In article <414331.22649...@web59815.mail.ac4.yahoo.com>, "little.forest" writes: > Hmm, can you tell me how to use AppSearch to "locate folders"? Use with a nested > "Use type 19 CA to set properties" [...] As pointed out by others, I was wrong in saying type 19, its type 51 (set pro

[WiX-users] Patching after disabling "Repair"

2009-10-20 Thread Andy2k8
Hello How do i apply a patch to a product that does not support "Repair" ("Repair" disabled when it was shipped) Running the patch silently from the command line does not seems to work because I have a type19 custom action that is conditioned as REINSTALL = ALL Any ideas?? - Andy MSI De