Re: [WiX-users] Advertised Shortcuts don't show the correct Icon

2007-04-20 Thread Mikko Järvinen
Scott Palmer wrote: > Of course that means that the same Icon ID can't be used to point to > both an .exe and a document file... > I'm calling it a WiX bug, as it's clearly brain-dead behavior... This is Windows Installer/MSI issue. Understanding how shortcuts and product advertisement work may h

Re: [WiX-users] upgrade and UI question...

2007-04-20 Thread Matt Anderson
Just as a reminder, if you edit WixUI_en-us.wxl, you'll have to use lit.exe to rebuild the UI library. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control

Re: [WiX-users] upgrade and UI question...

2007-04-20 Thread Matt Anderson
I think you could always edit the WixUI_en-us.wxl file. I have a feeling this is probably frowned on, though. There's probably a better way. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FR

Re: [WiX-users] reducing file size of msi containing duplicate files

2007-04-20 Thread Matt Anderson
I'm not really sure if this is the best method or if it would cut down on the size at all, but you could create a custom UI sequence and use properties and conditions. Have a dialog with a couple of checkboxes specifying the desired destinations. When the user checks them, set a property to so

Re: [WiX-users] Overwriting existing files

2007-04-20 Thread Matt Anderson
Try using the REINSTALLMODE property with the REINSTALL property. The REINSTALLMODE property tells the installer how to overwrite the files and if to use versioning rules or not. The REINSTALL property tells it what features to apply REINSTALLMODE to. Take a look at http://msdn2.microsoft.com

[WiX-users] custom action conditioned on selected features

2007-04-20 Thread Hongping Lim
Hi, I have a custom action that I want to run, but only if the user has selected and installed a specific Feature. Is there an expression or property to use to determine whether a particular Feature has been selected? Thanks, Hongping ---

[WiX-users] Handing a change in IUSR account

2007-04-20 Thread Don Tasanasanta
Most of the time when setting up web applications or virtual directories you can assume that the IUSR account will be IUSR_ and go forth from there. But what if the user has changed the IUSR account or more likely changed the name of the machine since installing IIS. Then the name of the machin

Re: [WiX-users] capturing text change event

2007-04-20 Thread Richard
In article <[EMAIL PROTECTED]>, Lindsay Harris <[EMAIL PROTECTED]> writes: > Bob, thanks so much for your response. So I wonder, is there any way to fo= > rce a refresh or redraw of a WIX dialog? What is it you're really trying to do? You've asked about a task without stating the goal. U

Re: [WiX-users] Skip license dialog

2007-04-20 Thread DEVAL SHAH
Hello, Yes you can skip the license if you modify the wixlib. Look at the tutorial at http://www.tramontana.co.hu/wix/lesson2.php#2.5 to see how to modify the dialog boxes and their order. >From: Andrei <[EMAIL PROTECTED]> >To: wix-users@lists.sourceforge.net >Subject: [WiX-users] Skip license d

[WiX-users] Overwriting existing files

2007-04-20 Thread John S
Hiya folks, A quick question, How can the existing files be overwritten during a repair option? appreciate any help. -John Software Developer BP- London - Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Y

Re: [WiX-users] Release and debug installations.

2007-04-20 Thread Kevin Burton
Thank you this was most helpful. Particularly I was unaware of the 'var.' syntax. Thank you. I will need to do a little more digging to see how I set the -d preprocessor arguments with msbuild. Thank you. Kevin From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]

Re: [WiX-users] capturing text change event

2007-04-20 Thread Lindsay Harris
Bob, thanks so much for your response. So I wonder, is there any way to force a refresh or redraw of a WIX dialog? Thanks! Lindsay From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 11:51 PM To: Lindsay Harris Cc: wix-users@lists.sourceforge.net; David Voskuil; Rajive Kum

[WiX-users] Tallow v2 - Make filters exclude matches, not include them?

2007-04-20 Thread Scott Parker
I'd like to set up an automated build process using Tallow to generate a dynamic list of files to include. However our app tends to include an extremely diverse set of file-types to deploy, while the files we need to exclude tend to have a fairly static set of extensions. Is there some way to for

Re: [WiX-users] Any interest in a beginner's tutorial?

2007-04-20 Thread Sandeep . Baweja
Gabor, This is a great idea because this way information stays in one place and is more easily accessible to all. If you and Rennie could collaborate on this, the community stands to benefit. Just a suggestion. Sandeep "DEÁK JAHN, Gábor" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 0

[WiX-users] Any interest in a beginner's tutorial?

2007-04-20 Thread DE�K JAHN, G�bor
On Fri, 20 Apr 2007 09:52:42 -0700, [EMAIL PROTECTED] wrote: Sandeep, > The "official" tutorial is an excellent resource but does not cover > this area comprehensively. I don't want to say even a single word against a parallel tutorial, of course, but I'm more than willing to accept any contrib

Re: [WiX-users] Using .NET 2.0 Managed Custom Actions

2007-04-20 Thread Mike Dimmick
Funnily enough, Rob posted a blog entry yesterday on why there are no plans to add Managed Custom Action support to WiX any time soon. See http://robmensching.com/blog/archive/2007/04/19/Managed-Code-CustomActions-n o-support-on-the-way-and-heres.aspx. -- Mike Dimmick _ From: [EM

Re: [WiX-users] Using .NET 2.0 Managed Custom Actions

2007-04-20 Thread Joe Kaplan
Rob, have you taken a look at the method that Christopher Painter alluded to in his comment on your blog post regarding Managed CA's? He seems to have built something that implements a helper process to load the CLR and communicates with the installer via IPC. This seems to be more of the arc

[WiX-users] reducing file size of msi containing duplicate files

2007-04-20 Thread Hongping Lim
Hi, I am creating a MSI that has two features, each containing one component. The user can install either or both the features. Each component use the same source file which is to be installed to a different location. Although the component use the same source file, it seems the file size of th

Re: [WiX-users] Using .NET 2.0 Managed Custom Actions

2007-04-20 Thread Rob Mensching
I wish you the best of luck. As long as you know that you are doing things that are not supported (and in a way actively discouraged) then may your code work for a very long time. I also hope your install does not create future compatibility problems for the Windows Installer team (from what I

Re: [WiX-users] Any interest in a beginner's tutorial?

2007-04-20 Thread Matthew Janulewicz
Not trying to steal any thunder or business, and competition is good, but there is a most excellent open source project called WixEdit that has a dialog editor in it. It now supports Wix 3.0 (and extensions) and is simple/graphical enough for a beginner to start using. I haven't a clue how to inter

[WiX-users] upgrade and UI question...

2007-04-20 Thread Robert Randall
I'm slowly marching through my upgrade challenges. When an upgrade is launched the default dialog that appears is not what I need. What are the recommended ways of displaying a more elaborate upgrade dialog. The "continuing the installation" will confuse my users and generate support calls. S

Re: [WiX-users] Using .NET 2.0 Managed Custom Actions

2007-04-20 Thread John Vottero
Have you found documentation for InstallUtilLib.dll? Did Microsoft add it to the list of redistributable software? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilson, Phil Sent: Friday, April 20, 2007 12:43 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Usin

Re: [WiX-users] Where to install samples

2007-04-20 Thread Brian Cardiff
I guest that the decission was not to include another tool. I have the same abuse feeling, that why in first chance I asked "what do you think about this?" in my first mail. Do you have any suggest of self-extraction tools that allow feature like selection and store registry information? because

Re: [WiX-users] Any interest in a beginner's tutorial?

2007-04-20 Thread Brett Kapilik
We (me and the company that I work for) are in the process of making a setup tool (like InstallShield but laid out much better) that generates WiX (3.0) files and then builds with candle and light. It generates 100% pure WiX and has a visual interface as well as a full dialog editor. The way that w

Re: [WiX-users] Any interest in a beginner's tutorial?

2007-04-20 Thread Sandeep . Baweja
Rennie, Like Daryn, I am also a developer who has occasionally done setup. I have used WiX and InstallShield. I would also be interested in a tutorial that explains in greater detail custom dialogs and localization. I found not found any decent documentation in this area. I would almost always

Re: [WiX-users] Using .NET 2.0 Managed Custom Actions

2007-04-20 Thread Wilson, Phil
Congratulations - you reinvented InstallUtilLib.dll... Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mailinglist Sent: Friday, April 20, 2007 4:52 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Using .NET 2.0 Man

Re: [WiX-users] Any interest in a beginner's tutorial?

2007-04-20 Thread Daryn Mitchell
Rennie, I'd be very happy to see a more beginner-oriented tutorial to help with getting started. I'm currently evaluating whether to switch from InstallShield to WiX, and there are still things I have not yet got running/tested in WiX. I'm a software developers who happen to also do setup -- as

Re: [WiX-users] Conditional registry key using CheckBox control : Why CDATA?

2007-04-20 Thread Ricardo Lopes
No special reason, was just trying ;-) Is the same to use: or StartAppWithWindows = 1 Ricardo Lopes. On 20/04/07, Anthony Wieser <[EMAIL PROTECTED]> wrote: Why in so many examples is this written: I thought CDATA was only required for when XML reserved items were include

Re: [WiX-users] Conditional registry key using CheckBox control :Why CDATA?

2007-04-20 Thread Richard.Foster
Anthony, I think the reason you see it so much is that giving out a sample this way is "safe". You are perfectly correct that you don't need it unless there are XML reserved items, but it seems that (unfortunately) huge numbers of developers don't understand the requirement to encapsulate those

Re: [WiX-users] changing setup at runtime

2007-04-20 Thread Daryn Mitchell
Also for an concise example of using the Automation interface you might find it helpful to look at "WiRunSQL.vbs" in the Installer SDK / Platform SDK. Use of the script is described in "Examples of Database Queries Using SQL and Script" http://msdn2.microsoft.com/en-us/library/aa368562.aspx Dar

Re: [WiX-users] Conditional registry key using CheckBox control : Why CDATA?

2007-04-20 Thread Anthony Wieser
Why in so many examples is this written: I thought CDATA was only required for when XML reserved items were included, like <, >, and &. Am I missing something, or is it just mystically copied around? Anthony Wieser Wieser Software Ltd

Re: [WiX-users] Conditional registry key using CheckBox control

2007-04-20 Thread Brett Kapilik
Well, there is nothing inherently "wrong" with non-public properties. Even from the UI. The "correctness" is conextual as to where you are referencing the property which makes it very hard to catch in a compiler. This is a logic error rather than a syntax error. - Brett _ From:

Re: [WiX-users] Conditional registry key using CheckBox control

2007-04-20 Thread Ricardo Lopes
Thanks, It worked fine. I didn't use the ALLCAPS version because i like camel-casing, has better readability. I notice many properties are in allcaps, is a limitation of MSI ? If so i think it should be verified on the schema and warm or force the user to change it to allcaps. Many thanks. Ri

Re: [WiX-users] Conditional registry key using CheckBox control

2007-04-20 Thread Brett Kapilik
Try making the property public (ALLCAPS): Then reference it in the component condition as the all-uppercase property name. - Brett _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo Lopes Sent: Friday, April 20, 2007 10:27 AM To: wix-

Re: [WiX-users] Type 51 Custom Actions not run? [SOLVED]

2007-04-20 Thread Anthony Wieser
Duh! If you're trying to make changes to the UI, don't add it to the InstallExecuteSequence! Add it to the InstallUISequence instead! Once I did that, it all started working. Maybe posting this will save someone else some time before they make the same dumb mistake. Anthony Wieser Wieser Sof

[WiX-users] Error in ScaSchedule - ConfigureIIS

2007-04-20 Thread sandy
HI, I'm getting a while installing my msi. Configuration of my webserver is If I change the configuration to the following It start working . The only change I made to config is to add a header or assign server IP address to make it non functional... Is it a bug in the ScaSched.dll o

[WiX-users] Conditional registry key using CheckBox control

2007-04-20 Thread Ricardo Lopes
Hi, I tried several ways and can't set a registry key only when the user checks a checkbox. I Create a component with a condition that checks a property (initialy set to "1" to make the checkbox control checked by default), however it seems that the property value is not set by the control and i

[WiX-users] Type 51 Custom Actions not run?

2007-04-20 Thread Anthony Wieser
I'm trying to read some data out of the registry using That works fine, and both items are correctly set to the values in the registry. Then, I'd like to set PIDKEY (if it isn't already set) to MACHINEKEY if that's set, or USERKEY if it's not. Unfortunately,

Re: [WiX-users] UI: Features in a ListBox

2007-04-20 Thread fiordean dacian
Hi Bob, How to I know within the AddLocal and Remove events for the Next button which entry is selected in the listbox? Sketch: ... LISTBOXVALUES="Feature1" LISTBOXVALUES="Feature2" LISTBOXVALUES<>"Feature1" LISTBOXVALUES<>"Feature2" ??? Thx, Da

Re: [WiX-users] changing setup at runtime

2007-04-20 Thread Brett Kapilik
Well, if the download is generic - just a file on a server - then I don't see how you can do this. However, if you are running a Windows server (ASP) theoretically I suppose you could make the download script: - Make a copy of the msi file on the server - Use the MSI Automation interface to open

Re: [WiX-users] Release and debug installations.

2007-04-20 Thread Richard.Foster
Kevin, I don't know if it's the recommended way (it probably isn't) but here is a brief description of what we do here: We happen to use NAnt for our build scripts. You should be able to accomplish similar results using a batch file, MSBuild or similar. Our calls to Candle look somethin

[WiX-users] Using .NET 2.0 Managed Custom Actions

2007-04-20 Thread Mailinglist
Hello WiX-users, because we needed to use managed custom actions in our setup, I searched around the net for a real solution to this. I found two projects ([1],[2]), that followed quite good ideas, but both did not work out of the box or only under special circumstances. So I combined them bo

Re: [WiX-users] Using .NET 2.0 Managed Custom Actions

2007-04-20 Thread Mailinglist
Hi Johan, > How does this work around the technical reason for managed custom > actions not working that Rob Mensching blogged about recently? Well, it works, though we have not testet calling managed custom actions for different framework versions. We roll out our software, entirely written for

Re: [WiX-users] Using .NET 2.0 Managed Custom Actions

2007-04-20 Thread Johan Appelgren
On 4/20/07, Mailinglist <[EMAIL PROTECTED]> wrote: > > > > > Hello WiX-users, > > > > because we needed to use managed custom actions in our setup, I searched > around the net for a real solution to this. > > > > I found two projects ([1],[2]), that followed quite good ideas, but both > did not wo

Re: [WiX-users] changing setup at runtime

2007-04-20 Thread Stefan Pavlik
The you can just edit each MSI package just before downloading. look for the MsiSetProperty in the MSDN regards Stefan Nitin Chaudhari wrote: > Hey Stefan, > > I think we have different requirements, I want this guid to be filled up > by my webpage, so that my webserver knows which GUID is gi

Re: [WiX-users] changing setup at runtime

2007-04-20 Thread Nitin Chaudhari
Hey Stefan, I think we have different requirements, I want this guid to be filled up by my webpage, so that my webserver knows which GUID is given to the user who was logged in and who downloaded the setup. Thanks, Nitin On 4/20/07, Stefan Pavlik <[EMAIL PROTECTED]> wrote: I am using exactly

Re: [WiX-users] Problems overriding dialog sequence

2007-04-20 Thread Anthony Wieser
- Original Message - From: "Rennie Petersen" <[EMAIL PROTECTED]> To: "Anthony Wieser" <[EMAIL PROTECTED]>; Sent: Friday, April 20, 2007 12:20 PM Subject: RE: [WiX-users] Problems overriding dialog sequence You need to change some things in the WixUI_InstallDir.wxs file to change the s

Re: [WiX-users] Problems overriding dialog sequence

2007-04-20 Thread Rennie Petersen
You need to change some things in the WixUI_InstallDir.wxs file to change the sequencing of dialog boxes. Rennie > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Anthony Wieser > Sent: 20. april 2007 13:08 > To: wix-users@lists.sourceforge.net >

Re: [WiX-users] changing setup at runtime

2007-04-20 Thread Stefan Pavlik
I am using exactly the same thing. I have custom action (that runs as immediate) that will create the GUID and will fill some property with this GUID. This guid is used in Registry element - it is written to the registry. (functions to search: UuidCreateSequential UuidToString ) Regards Stefan

[WiX-users] Problems overriding dialog sequence

2007-04-20 Thread Anthony Wieser
I'm trying (in vain) to add a registration dialog between the License Agreement page, and the installDir dialog using the default dialog set. In my section, I've added this: LicenseAccepted = "1" 1 as well as the definition of my UserRegistrationDlg. Unfortunately, when I look at t

[WiX-users] How to avoid running two instances of MSI through WIX

2007-04-20 Thread vishvas
Hi all, We have created MSI using WIX 2. But i observed end user can easily run two instances of MSI at the same time. I want to avoid this thing. Can any one give me idea to how to do this using WIX ? -- View this message in context: http://www.nabble.com/How-to-avoid-running-two-instances-of-

Re: [WiX-users] Skip license dialog

2007-04-20 Thread Rennie Petersen
Yes, that is very easy, at least if you are working with the UI in source form. Just change the sequence of dialog boxes to omit the dialog box that shows the license agreement. But you do need to download the WiX source and work with the dialog sequencer in source. Rennie > -Original Messa

[WiX-users] Skip license dialog

2007-04-20 Thread Andrei
Hi All, Is it possible not to show the licence agreement dialog? I use wix ver. 2. Andrei - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML.

[WiX-users] Access Violation whilst cabing

2007-04-20 Thread martin lavelle
Hello,I am getting the following error with WiX V3.0.2806.0 and V3.0.2716.0: Creating cabinet 'C:\WiX\SchemaV3\CabCache\Marine1.cab'.light.exe : error LGHT0001 : Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Exception Type: System.AccessVio

Re: [WiX-users] Any interest in a beginner's tutorial?

2007-04-20 Thread Rennie Petersen
> Can you send a link to that tutorial? Thanks for your interest. My WiX tutorial not currently on-line, and it would involve some work to place it on-line (formatting web pages, copying sample files, etc.) So I'll ask again, is there really any interest in yet another WiX tutorial? Mine is more

Re: [WiX-users] New Program Highlighting is missing

2007-04-20 Thread Rob Mensching
Magic. I'm not joking. The shell does some magic to tell when new apps are installed an are not installed. When I install and uninstall a bunch of times the shell sometimes remembers and sometimes doesn't remember that this is a "new product". I don't know what to make of it. I expect Raymo

[WiX-users] WIX - Custom Action calling EXE (with a dependent DLL)

2007-04-20 Thread Sankaranarayanan
Hi, In my installer - I have a custom action which calls an EXE to perform some operation. At the end of the installation, I want to make sure that the EXE used in the Custom Action is deleted from the system. I don't want to ship the EXE to clients. I find that we can do it in the following w

[WiX-users] changing setup at runtime

2007-04-20 Thread Nitin Chaudhari
Hi, I need to add some information to my setup at runtime. So that every user who downloads the setup, get a unique setup. Basically I need to embedded a GUID in the setup, and when it runs, I want to write this guid to registry or some file. Any pointers on how to achieve this. I heard about ch