Re: [WiX-users] Where to install samples

2007-04-20 Thread Bob Arnson
Brian Cardiff wrote: And with doesn't register the product I mean, Suppress: RegisterProduct, RegisterUser, PublishProduct, PublishFeatures. So the installer don't leave trace of that. That's a pretty bad abuse of MSI -- why go through the cost of generating components and authoring only to

Re: [WiX-users] Dialog Editor

2007-04-20 Thread Bob Arnson
Anthony Wieser wrote: Apparently heat.exe now subsumes tallow functionality, however I can't find the equivalent to the -r command to decompile a .rc file. Heat doesn't have all of Tallow's functionality. The dialog template feature is one that hasn't been ported. Heat doesn't have a

Re: [WiX-users] Cannot load self-compiled SqlExtension.dll

2007-04-20 Thread Bob Arnson
Daniel Kopp wrote: I modified scasqlstr.cpp and compiled the whole toolset using the standard make.bat. Everything looks fine, but light cannot load the self-compiled SqlExtension.dll. It fails with error code CNDL0144. You should be able to load it but only from the version of light you

Re: [WiX-users] Privileges on Vista

2007-04-20 Thread Bob Arnson
Potentiostat wrote: Now I have two problems. The first is the install needing permission on Vista, probably because I am installing files to a sub folder of program files. Our software sometimes gets installed on networked PCs in large companies, so I would like to avoid needing permission,

Re: [WiX-users] capturing text change event

2007-04-20 Thread Bob Arnson
Lindsay Harris wrote: Is there any way to capture the text changed event for an Edit control. No; MSI doesn't expose events on Edit controls. From the MSI doc: The ControlEvent Table controlevent_table.htm specifies the control events that are started when a user interacts with a

[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

[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

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

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

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

[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

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

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

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

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] Problems overriding dialog sequence

2007-04-20 Thread Anthony Wieser
- Original Message - From: Rennie Petersen [EMAIL PROTECTED] To: Anthony Wieser [EMAIL PROTECTED]; wix-users@lists.sourceforge.net Sent: Friday, April 20, 2007 12:20 PM Subject: RE: [WiX-users] Problems overriding dialog sequence You need to change some things in the

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 work out of the

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] 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] 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: Control Id=ListBox Type=ListBox ... Property=LISTBOXVALUES ListBox ListItem Text=Desc. of feature1 Value=Feature1/ ListItem Text=Desc of Feature2

[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] Error in ScaSchedule - ConfigureIIS

2007-04-20 Thread sandy
HI, I'm getting a ConfigureIIs: Error 0x80070490: failed to read IIsWebSite table error. while installing my msi. Configuration of my webserver is IIsWebServerLocation =/LM/W3SVC/1 AppPoolId=DefaultAppPool DefaultDoc=Default.htm,Default.asp,index.htm,iisstart.htm

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

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

2007-04-20 Thread Brett Kapilik
Try making the property public (ALLCAPS): Control Id=StartAppWithWindowsCheckBox CheckBoxValue=1 Type=CheckBox Text=Start app on windows startup Width=300 Height=30 X=30 Y=60 Property=STARTAPPWITHWINDOWS / Then reference it in the component condition as the all-uppercase

[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

[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 Property Id=MACHINEKEY RegistrySearch Id=RMK Root=HKLM Type=raw Key=SOFTWARE\MyKeyPath Name=LicenseKey /RegistrySearch /Property Property Id=USERKEY RegistrySearch Id=RUMK Root=HKCU Type=raw

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.

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] 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 Daryn.

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] 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: Condition![CDATA[StartAppWithWindows = 1]]/Condition or ConditionStartAppWithWindows = 1/Condition Ricardo Lopes. On 20/04/07, Anthony Wieser [EMAIL PROTECTED] wrote: Why in so many examples is this written:

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

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

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

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

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

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

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

[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

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

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:

[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

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]

[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

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

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

[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

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

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.

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

[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

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

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

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