Re: [WiX-users] Patch build with GAC update

2008-06-17 Thread Neil Sleightholm
I'm afraid I have only ever done this as a major upgrade, I don't think it should matter. Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of wixuser1105 Sent: 18 June 2008 03:58 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Patch build wi

Re: [WiX-users] MSBuild inside Wix development

2008-06-17 Thread Neil Enns
Chris, I'm curious, why do you use this approach instead of the shipping wix.targets build process that comes with WiX? Neil From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Chris Mumford [EMAIL PROTECTED] Sent: Tuesday, June 17, 2008 8:04 PM To: General

Re: [WiX-users] Sql Server: Reporting Services

2008-06-17 Thread Neil Sleightholm
I have written a tool to upload reports to a SSRS server and then fix up the data sources. My requirement was to allow development teams to create the files and then distribute them in a standard and controlled way, something that SSRS doesn't offer as standard. I chose to do this as a command line

Re: [WiX-users] MSBuild inside Wix development

2008-06-17 Thread Chris Mumford
You don't want to call MSBuild *from* WiX. Instead you want to mave MSBuild call WiX. Attached is my MSBuild project file that calls candle.exe and light.exe to build an MSI file. You can see that I have the path to the WiX bin folder hard-coded (and my machine is x64). So as an improvement you co

Re: [WiX-users] Patch build with GAC update

2008-06-17 Thread wixuser1105
I tried with -fv but it does not update GAC. I will paste the code below. Infrastructure.wxs http://schemas.microsoft.com/wix/2006/wi";>

Re: [WiX-users] Help me fix my mistake please...

2008-06-17 Thread Chris Mumford
No (but that's good to know). I'm trying to upgrade version 2.3.1 to version 4.0.0.0 and that is the version that doesn't get removed. On Tue, Jun 17, 2008 at 9:49 AM, Wilson, Phil <[EMAIL PROTECTED]> wrote: > Major upgrades use only the first three fields of a ProductVersion, so > there's no dis

Re: [WiX-users] Preservation of .net settings?

2008-06-17 Thread King, Ross
The Settings class has an Upgrade method that grabs the previous settings. Make sure you add your own setting SettingsUpdateRequired that is defaultly set to true, otherwise this will overwrite your settings each time you start your program. static class Program { /// ///

[WiX-users] Preservation of .net settings?

2008-06-17 Thread Ryan Dunn
I have a WiX project used to install a .net app. The app makes use of the Properties of .net to store settings. These settings go in %APPDATA%\Path\to\dir\version\user.config After I rev the version (either through a small patch, minor upgrade, major upgrade), how do I pull in these settings

[WiX-users] self-registering

2008-06-17 Thread jeff sacksteder
I'm trying to package a legacy program that registers some third-party ocx and dlls. I see that the consensus is that I should be handling this with a registry component. However, this application's 'installer' just copies stuff into a folder off the root of c:\ and runs a 'register.bat' to regsvr3

Re: [WiX-users] How to build 64-bit msi

2008-06-17 Thread Jason Ginchereau
The error message when launching the MSI sounds like you might be launching the 64bit MSI package on a 32bit platform. What is the OS version, bitness, and msi.dll version you are testing on? Note that it is not possible to create a single MSI package which can install only 32bit components on

Re: [WiX-users] Sql Server: Reporting Services

2008-06-17 Thread David Reed (SQL)
Murray, I was asked about this by customers and MVPs @ TechEd, so it's on the radar (mine, at least). If you'd like to feed your requirements into my team and/or SSRS', I'd be happy to hear them offline. Ditto for Integration Services. If my team builds "it" (whatever it is) for SSRS deployment,

[WiX-users] How to build 64-bit msi

2008-06-17 Thread Mohammed Akanda
Hi,  I have created a Wix project in Visual Studio 2008. I have few 64bit dlls and have statement like below: When I try to build the project- it showing error message like this:"This package contains 64 bit component 'mycomp' but the Template

[WiX-users] Including 64-bit dlls and setting the template summary property

2008-06-17 Thread Mohammed Akanda
Hi,  I have created a Wix project in Visual Studio 2008. I have few 64bit dlls and have statement like below: When I try to build the project- it showing error message like this:This package contains 64 bit component 'mycomp' but the Template S

Re: [WiX-users] File Version for patches

2008-06-17 Thread Lyle Hollenbeck
Correct. The target and source installs used to create the patch were identical except for about 5 files. No components or features were added or removed. I believe I received a warning displaying the files were different but the version #'s were the same so no action would be take. Lyle ---

[WiX-users] merge module with existing msi

2008-06-17 Thread Johan Feyaerts at hotmail
Hi, I developed an installer based on wix v3.0 that opens a custom dialog and does some license key checking with a custom action. I'd like to change this into a merge module that I could join with an msi generated by a visual studio 2008 setup project. I'd just want to link in the code for the

Re: [WiX-users] File Version for patches

2008-06-17 Thread Wilson, Phil
Are you saying that you built a patch with an updated version of the file and applying the patch did not update the file on the system? There are reasons this will happen, mainly removing components, all things being equal. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto

Re: [WiX-users] Help me fix my mistake please...

2008-06-17 Thread Wilson, Phil
Major upgrades use only the first three fields of a ProductVersion, so there's no distinction between 3.0.0.0 and 3.0.0.1. Is that what you're seeing? Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Mumford Sent: Monday, June 16, 2008

[WiX-users] Registry Permissions applied to subkeys

2008-06-17 Thread Mole, Chris
All, I'm using WiX v3.0.3526.0. Code as follows: The problem is that the permissions are only applied to the 'Test' key. How can I set it so the permissions are inherited by subkeys? Thanks, Chris - Check out the ne

Re: [WiX-users] XmlFile CreateElement

2008-06-17 Thread Alexander Shevchuk
In this case I would recommend switching to XmlConfig because you can have separate records for install (add entries) and uninstall (remove entries). Use either AppSearch or custom action Type 51 to set some variable to the full path of the XML file and use this variable as a value of File attrib

Re: [WiX-users] Question about element

2008-06-17 Thread Neil Enns
Interesting, the docs for Control do say that you can use the element underneath when CDATA is required. In your case, since you don't need to wrap your text in CDATA, you can just use the Text attribute instead: ... Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[WiX-users] Question about element

2008-06-17 Thread Amy Rosewater
I added the following xml to my .wxs file: [CreateVantageAdminDomainIdentityLabelText] ...and received the following error: Schema validation failed with the following error: The element 'Control' in namespace 'http://schemas.microsoft.com/wix/2006/wi' has invalid child element 'Te

Re: [WiX-users] Auto Update Question

2008-06-17 Thread Christopher Painter
MSI has no built in story and ClickOnce is very limited. Some tools provide extensions for this type of update but inevitably it turns into just another annoying trayapp pop-up.Doing your check at application startup is fairly friendly to your user. Do you do the download in the backgroun

Re: [WiX-users] Auto Update Question

2008-06-17 Thread Ryan O'Neill
In my opinion that is not suitable for a lot of applications. This is because it runs per user and cannot install system level components (for example, drivers etc). I imagine what Chris already has is what ClickOnce does anyway. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PR

Re: [WiX-users] Auto Update Question

2008-06-17 Thread RAYMENT Tim
Microsoft ClickOnce. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Bardon Sent: 17 June 2008 13:53 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Auto Update Question I've built my own auto update mechanism t

[WiX-users] [Wix-users] How to install X509 Certificate

2008-06-17 Thread Николай Быков
Hello, world! I have Wcf-application, which uses X509 certificates. Certificate must be installed in "CurrentUser.My" location. How can I do it with WiX Tool? Thank you - Check out the new SourceForge.net Marketplace.

Re: [WiX-users] Auto Update Question

2008-06-17 Thread Ryan O'Neill
If you find out a better way I'd love to know too. I intended to do it the way you said. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Bardon Sent: 17 June 2008 13:53 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users

Re: [WiX-users] Auto Update Question

2008-06-17 Thread Chris Bardon
I've built my own auto update mechanism to recognize when new versions are available based on a web service, but I'm curious to know what solutions others have come up with. Basically, my app just phones home to a predefined location on startup, and if there's a new version, downloads and runs the

Re: [WiX-users] UI extension and XmlConfig locales

2008-06-17 Thread Alex Goryuk
Thanks Bob, I definitely clicked on the wrong folder when I was browsing haha Here's what I was looking for: http://wix.cvs.sourceforge.net/*checkout*/wix/wix/src/ext/UtilExtension/wixl ib/en-us.wxl Thanks, Alex G. On 6/16/08 11:57 PM, "Bob Arnson" <[EMAIL PROTECTED]> wrote: > Alex Goryuk wro

Re: [WiX-users] XmlFile CreateElement

2008-06-17 Thread md5hans
Thanks, that solved my problem! I have another question related to what I'm trying to do. The XML-file I want to modify is already installed on the target machine i.e it is not included in the installation. Where shall I put my XmlFile statments? The example below installs the xml file settings.

Re: [WiX-users] Session object

2008-06-17 Thread Ryan O'Neill
Well, I'll try to help but as I say, I was given these files as part of an old installer. Looking at the first line that accesses the Session object I can see; targetDirPath = "" + Session.Property("CustomActionData") This is for a deferred custom action, if yours is deferred too then you'll only

Re: [WiX-users] Session object

2008-06-17 Thread Yuval David
Thank you for the warning. I understand from your mail that you had already used this session object in your project. So maybe you can tell me: is this file created automatically after compilation?, I mean: is it included in the msi file? -Original Message- From: [EMAIL PROTECTED] [mailto:

Re: [WiX-users] Session object

2008-06-17 Thread Ryan O'Neill
I don't know why it would do that, but I'll just give you a warning based on my current experience of VB Script custom actions. Avoid them if you can. A lot of people have said not to use them (I inherited these ones) as they get blocked by anti-virus and are difficult to debug. We released yester

[WiX-users] Session object

2008-06-17 Thread yuval_david
hi, Im trying to write an installer in wix and which executes a vbs file using a custom action. But I have a problem: It seems as the installer doesn't construct a Session object and therefor I can't write in the vbs file the command Session.Property("INSTALLDIR"). Does somebody know why the inst

Re: [WiX-users] WixLib and WixVariable

2008-06-17 Thread Wouter Demuynck
Hello, Using a works, I'm gonna file a bug report for this "!(wix.id)", I had to rename the Id though so it would not conflict with the existing default [ProductName] property. Thanks for the help, Kind regards, Wouter 2008/6/17 Bob Arnson <[EMAIL PROTECTED]>: > Wouter Demuynck wrote: >>

[WiX-users] Custom Actions: Exe return code and conditions

2008-06-17 Thread Martin Lierschof
Hi, I have some questions depending on Custom Actions. I have a binary file which is installed with a component(always installed) this file installs a service with ExeCommand='-install' if the service is installed proper the installer returns 0, but if this service has been installed already, t

Re: [WiX-users] SPAM-LOW upgrading package

2008-06-17 Thread Neil Sleightholm
Are you changing the Product Id GUID? In WiX v3 I use so it changes every time I build it. Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wix User Sent: 17 June 2008 03:57 To: wix-users@lists.sourceforge.net Subject: [WiX-users] SPAM-LOW upgrading

Re: [WiX-users] BUG: Group cannot be added to component.

2008-06-17 Thread Adrian Lewis
> Is your compiler extension adding a reference to the CustomAction/@Id? Not knowingly... Okay my extension has packaged the wixlib as an embedded resource (and the wixlib has the custom action binding - not forgetting the -bf switch to get it included in the build) is there somewhere else in the

Re: [WiX-users] Patch build with GAC update

2008-06-17 Thread Neil Sleightholm
By default Windows Installer doesn't check the file version for files in the GAC (only assembly version). If you use the -fv command line option with light it will set a flag in the MSI to make it check the file version. I hope this helps. Neil -Original Message- From: [EMAIL PROTECTED]

[WiX-users] MSBuild inside Wix development

2008-06-17 Thread Krishnan Senthilraj
Hi, I am new to Wix and MSBuild area. I have one fundamental quention. I completed all the building of my application in MSBuild. Now I am writing Wix construction. I was under impressing we can call the MSBuild project inside Wix. I am trying examples for this. But unfortunately I didn't get th

[WiX-users] Patch build with GAC update

2008-06-17 Thread Wix User
I have followed the examples given in http://blogs.msdn.com/pmarcu/archive/2007/06/28/sample-patch.aspx but I have a few components with assemblies registering to GAC. when I create a patch with the latest and deployed, it does not replace in the GAC. I will not be making any assembly version chan