[WiX-users] Prevent running ExecXmlFileRollback: during a patch install

2011-03-02 Thread Tom Crozier
Hi all - I am creating a patch for an existing installer that uses Util:XmlFile elements to modify a web.config file. There was no condition element on the component they are contained in so in the patch version I added a NOT Installed condition. The problem is that the web.confi

Re: [WiX-users] Uninstall an installed product.

2011-03-02 Thread Kevin Burton
I am sorry but now I am getting: \Product.wxs(16,0): warning LGHT1076: ICE61: This product should remove only older versions of itself. The Maximum version is not less than the current product. (2.1.0 2.1.0) \Product.wxs(21,0): warning LGHT1076: ICE61: This product should remove only older vers

[WiX-users] Custom Actions to manage a refcount (or something cleverer?)

2011-03-02 Thread Alan Sinclair
I have several apps which need to set the same DWORD registry flag. The apps can be installed together (independently) on the same machine, so the flag must not be unset if one app is uninstalled while another is in place. Unfortunately the only permissible values for the flag are zero (or unset

Re: [WiX-users] deploying sql server reports using msi

2011-03-02 Thread Michael Osmond
I haven't found it so far. I know some others have done some work around this, but you would have to search for it. We deploy reports via MSI and it's troublesome. My first solution was to get a command process and use rs.exe which is a deployment tool that comes with report server. The mai

Re: [WiX-users] Uninstall an installed product.

2011-03-02 Thread Kevin Burton
The error occurs with 'light' H:\>light -? Microsoft (R) Windows Installer Xml Linker version 3.5.2519.0 Copyright (C) Microsoft Corporation. All rights reserved. -Original Message- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: Wednesday, March 02, 2011 5:14 PM

Re: [WiX-users] Uninstall an installed product.

2011-03-02 Thread Kevin Burton
Thank you. http://wix.sourceforge.net/manual-wix3/wix_xsd_majorupgrade.htm lists Product as the parent. Kevin Burton Senior Software Engineer BUYSEASONS 262-901-2000 Office 262-901-2312 Fax kev...@buyseasons.com -Original Message- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...

Re: [WiX-users] Uninstall an installed product.

2011-03-02 Thread Castro, Edwin G. (Hillsboro)
Assuming you are using WiX 3.5.2519.0, then you need to put the MajorUpgrade element after the Package element. The Package element must be the first child of Product. See http://wix.sourceforge.net/manual-wix3/wix_xsd_product.htm. ... ... Edwin G.

Re: [WiX-users] Passive Vs Full UI and it's effect on RemoveExistingProducts

2011-03-02 Thread Wilson, Phil
RemoveExistingProducts after InstallFinalize works the way you describe - it is basically an install of the new version on top of the older version where the file replacement rules are followed. This means that only higher versioned files will get updated (ignoring data file rules). Here are t

Re: [WiX-users] Uninstall an installed product.

2011-03-02 Thread Castro, Edwin G. (Hillsboro)
What version of WiX do you have? Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail > -Original Message- > From: Kevin Burton [mailto:kev...@buys

Re: [WiX-users] Uninstall an installed product.

2011-03-02 Thread Kevin Burton
I get a squigly blue line (error) when I include the element below the . I have the namespace for the schema set to "http://schemas.microsoft.com/wix/2006/wi";. I get the error: Error 2 Schema validation failed with the following error at line 1, column 565: The element 'Product' in n

[WiX-users] Custom Action on uninstall fails after conversion to .Net 4.0

2011-03-02 Thread Mary Shurtleff
I, like many others, am converting a .Net 3.5 WIX installer project to .Net 4.0. I have a custom action in my project that runs on uninstall and is failing with the familiar "bad image format" exception: System.BadImageFormatException: Could not load file or assembly 'ABC.Wix.CustomActions' or

[WiX-users] Installation path of Adobe/Return a value from a Custom Action

2011-03-02 Thread bradley.jones
I'm looking for the best way to find a version of Adobe that's installed on a user's machine. This will determine the installation path of some files to deploy. I've tried the following: The issue I have here is depending on what version the u

Re: [WiX-users] Uninstall an installed product.

2011-03-02 Thread Castro, Edwin G. (Hillsboro)
The Product/@Id is of type AutogenGuid according to http://wix.sourceforge.net/manual-wix3/wix_xsd_product.htm. The AutogenGuid description says: Values of this type will look like: "01234567-89AB-CDEF-0123-456789ABCDEF" or "{01234567-89AB-CDEF-0123-456789ABCDEF}". A GUID can be auto-generated

Re: [WiX-users] Uninstall an installed product.

2011-03-02 Thread Chris Lord
Kevin You dont need to change it. Setting the package ID to "*" ensures the package in your installer is automatically regenerated with a new GUID each time you build it. This means when uninstalling, the MSI wont be confused by identical package GUID's. For each version you release, assum

Re: [WiX-users] Error 1723

2011-03-02 Thread Uma Harano
This is the link that gave me the idea to change the function names. http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg42318.html -Original Message- From: Uma Harano [mailto:uhar...@esri.com] Sent: Wednesday, March 02, 2011 11:02 AM To: General discussion for Windows Install

Re: [WiX-users] MSBuild batching - Disabling incremental clean of MSIs only

2011-03-02 Thread Jacques Eloff
Thanks Rob For now, I've worked around it by adding a custom step in the AfterBuild target to copy the MSIs. Jacques On Thu, Feb 24, 2011 at 7:10 AM, Rob Mensching wrote: > I *think* the change came when the new tool to sign cabinets came in. I'm > looking at this code right now myself. I'm wo

Re: [WiX-users] Uninstall an installed product.

2011-03-02 Thread Kevin Burton
'it' is the Package/@id that this thread is about. If I set the Product/@Id to "*" then how do I change it so that the previous version is uninstalled? Kevin Burton Senior Software Engineer BUYSEASONS 262-901-2000 Office 262-901-2312 Fax kev...@buyseasons.com -Original Message- From: Ca

[WiX-users] Error 1316 and browser download‏

2011-03-02 Thread Mark Turek
If you download an msi file and choose to run the file (rather than save it), Internet Explorer will add a number to the filename in brackets (such as[1] or [2] etc...). Windows Installer saves this filename in the registry and expects the same filename if you run an upgrade/repair or uninstall

Re: [WiX-users] light command line, -b option, alternate path

2011-03-02 Thread Blair
-b tells the binder additional locations where to locate files that are referenced in the wixobj files (the source locations of File, Binary, and other related elements), not the wixobj files themselves. -Original Message- From: Marc Mirucki (Counterpunch Software LLC) [mailto:v-mam...@mic

Re: [WiX-users] Heat generated fragment and source file location

2011-03-02 Thread Nathan Stohlmann
You don't tell the fragment, you tell Light using the "-b" command-line argument. If you have multiple folders you can specify multiple -b arguments to include all of the folders you need. So if you are running light from same directory as your heat source, you would add "-b ..\_Release\Applicatio

[WiX-users] deploying sql server reports using msi

2011-03-02 Thread Sean Farrow
Hi: I'm currently involved in a project converting crystal reports to ssrs. Does the sql server extension support automatically deploying reports to a report server? Ideally this solution would not need the .net framework during the installation. Regards Sean. -

Re: [WiX-users] Error 1723

2011-03-02 Thread Chad Petersen
Of course, there's more than one way to skin a cat. Check out Phil's suggestion here http://social.msdn.microsoft.com/forums/en-us/winformssetup/thread/9E48A3D0-ADF2-4CF3-B9BA-D5E9DE584C8F -Original Message- From: Colin LeMahieu [mailto:clemah...@gmail.com] Sent: Tuesday, March 01, 20

Re: [WiX-users] light command line, -b option, alternate path

2011-03-02 Thread Rob Mensching
Bind paths (-b) do not search for .wixobjs. They search for the files that go in the resulting MSIs. Just provide paths to the .wixobjs (or run from the directory with all the .wixobjs so the relative path is correct ). On Tue, Mar 1, 2011 at 10:52 AM, Marc Mirucki (Counterpunch Software LLC) < v-

[WiX-users] Passive Vs Full UI and it's effect on RemoveExistingProducts

2011-03-02 Thread Gus Nassar
Hello, My understanding of msiexec [msi] /qb or /passive is that the effect is much like if a user had accepted/defaulted all of the dialogs and continued through the installation process without stopping for coffee, tea of any other refreshments. I'm facing the problem where my understan

Re: [WiX-users] Error 1723

2011-03-02 Thread Chad Petersen
I believe I might know what you are running into. You can't access things destined for the GAC *during* the install. You probably will need to expose a regular COM interface to your assembly and put it someplace accessible other (also) than the GAC. We've had to do this with some of our .NET ass

Re: [WiX-users] Heat generated fragment and source file location

2011-03-02 Thread Matthew Slane
I figured it out, heat.exe -var env.appdir and candle.exe -dappdir=..\_Release\Application candle are what I needed, unless there's a better way? -Original Message- From: Matthew Slane [mailto:matthew.sl...@thetrainline.com] Sent: 02 March 2011 10:13 To: wix-users@lists.sourceforge.net Su

[WiX-users] Error 1316 and browser download

2011-03-02 Thread Mark Turek
If you download an msi file and choose to run the file (rather than save it), Internet Explorer will add a number to the filename in brackets (such as[1] or [2] etc...). Windows Installer saves this filename in the registry and expects the same filename if you run an upgrade/repair or uninstall

Re: [WiX-users] Multiple netsh commands

2011-03-02 Thread Pierson Lee (PIE)
I've done something like this with the statement. Is that something you can leverage? -Original Message- From: Gregg Swanson [mailto:gregg.swan...@microsoft.com] Sent: Tuesday, March 01, 2011 7:32 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Multiple netsh commands Hello

Re: [WiX-users] Error 1723

2011-03-02 Thread Dan Vasilov
Do you have a unit test for your CA? I would try running it on the problem system. It still looks like the .dll that contains the CA is not in the MSI or is poorly referenced. You said the setup stopped working all of a sudden. You should try viewing your wix files history in y

[WiX-users] Passive Vs Full UI and it's effect on RemoveExistingProducts

2011-03-02 Thread Gus Nassar
Hello, My understanding of msiexec [msi] /qb or /passive is that the effect is much like if a user had accepted/defaulted all of the dialogs and continued through the installation process without stopping for coffee, tea of any other refreshments. I'm facing the problem where my understan

Re: [WiX-users] Error 1723

2011-03-02 Thread Uma Harano
I had this error too. I had a bunch of functions that all had the first dozen characters the same. MsiGetWebsiteName, MsiGetWebsitePort, etc. I fixed this by renaming my functions - GetSiteName, etc. For some reason when there were too many functions that have the first dozen letters the same, the

Re: [WiX-users] Uninstall an installed product.

2011-03-02 Thread Castro, Edwin G. (Hillsboro)
What is "it"? I usually set Product\@Id="*" and do not set Package\@Id at all. Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail > -Original Message-

Re: [WiX-users] Executing CA after InstallFiles

2011-03-02 Thread vunder
extern "C" UINT __stdcall BoxUpdate(MSIHANDLE hInstall) { TCHAR szPath[500], szStr[1000], szBoxAddresses[1000], szBox[NI_MAXHOST]; DWORD dwLen; if (MsiGetMode(hInstall, MSIRUNMODE_SCHEDULED) == FALSE) { MsiSetProperty(hInstall, L"CustomAc

Re: [WiX-users] Executing CA after InstallFiles

2011-03-02 Thread vunder
I see. I need to use deferred custom action. As I understand, I cannot access to installation in deferred CA, only several propperties like "CustomActionData". But I cannot get it's value. ... if (MsiGetMode(hInstall, MSIRUNMODE_SCHEDULED) == TRUE) { TCHAR szPath[500]; UINT

Re: [WiX-users] Error 1723

2011-03-02 Thread Wilson, Phil
Is it managed C++? It's not clear to me how you're calling a managed code assembly otherwise - that log might be a DTF or InstallUtilLib call, but it's not obvious which it might be. Phil Wilson -Original Message- From: Colin LeMahieu [mailto:clemah...@gmail.com] Sent: Tuesday, March

Re: [WiX-users] Heat generated fragment and source file location

2011-03-02 Thread David Watson
Use the heat option -var to point your file@source to a preprocessor variable that you can then set in your wixproj or candle command line. E.g. heat.exe dir ..\_Release\Application -srd -sfrag -gg -dr AppFolder -template:fragment -cg Application -sreg -pog:Binaries -pog:Symbols -pog:Satellites

Re: [WiX-users] Uninstall an installed product.

2011-03-02 Thread Kevin Burton
When I set it to "*" I get an error that it is not a GUID format. Kevin Burton Senior Software Engineer BUYSEASONS 262-901-2000 Office 262-901-2312 Fax kev...@buyseasons.com -Original Message- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: Tuesday, March 01,

Re: [WiX-users] light command line, -b option, alternate path

2011-03-02 Thread Peter Shirtcliffe
The -b option specifies the location of files that are included in the msi, not the location of the wixobjs. -Original Message- From: Marc Mirucki (Counterpunch Software LLC) [mailto:v-mam...@microsoft.com] Sent: 01 March 2011 18:52 To: wix-users@lists.sourceforge.net Subject: [WiX-users]

[WiX-users] Referencing .wxi from .wixlib

2011-03-02 Thread MikeR
Is it possible to reference a .wxi file that is included in a .wixlib from a .wixproj consuming that .wixlib? My specific goal that I'm trying to achieve is a WiX library that contains a generic SQL connection dialog that can be reused. The general scheme is using a .wxi file that defines the

Re: [WiX-users] Executing CA after InstallFiles

2011-03-02 Thread vunder

[WiX-users] Heat generated fragment and source file location

2011-03-02 Thread Matthew Slane
Hi, I'm using Wix for the first time to build an installation tool for a project . There are several output folders that have the release builds built in a directory parallel to the wix source directory. I'm using Heat to generate a fragment as there's too much to do by hand. When I try to bu

[WiX-users] light command line, -b option, alternate path

2011-03-02 Thread Marc Mirucki (Counterpunch Software LLC)
Not sure what I'm doing wrong here... my wixobj files are in .\obj\release directory yet light (3.5) doesn't find them with the -b option: light -b .\obj\release VBA7.wixobj light.exe : error LGHT0103 : The system cannot find the file 'VBA7.wixobj' with type 'Source'. dir .\obj\release\VBA7.wix

Re: [WiX-users] Authoring a patch to patch "everything"

2011-03-02 Thread Blair
An empty PatchFamily is "the" way to have that one PatchFamily cover the entire product. Your error message is symptomatic of something else. Do you have a stack trace of that error? Do you have anti-virus software running on your 'c:\tmp\' folder? -Original Message- From: John Daintree [

Re: [WiX-users] Bootstrapper for localized installer

2011-03-02 Thread Gareth
How have you made your localised transform? I would guess that you are creating several packages in different languages and using msiTran.exe to create a transform between one and each of the others, then applying that transform to the one hoping it will act like one of the others? If this is tru

Re: [WiX-users] Executing CA after InstallFiles

2011-03-02 Thread Yan Sklyarenko
Make your CA deferred (Execute="deferred") -- Yan On Tue, Mar 1, 2011 at 1:47 PM, vunder wrote: > I'm trying to execute CA after InstallFiles (I want to execute it after > files > are copied): > > > DllEntry="BoxUpdate"/> > >

[WiX-users] Chaining Installers with a reboot

2011-03-02 Thread Gareth
Hi there... I've created my own bootstrapper that is able to read a series of MSI paths from an ini file in order to appropriately launch a series of installers in a defined sequence. On very clean machines the package I'd like to come first can create a reboot request on the system, but I have ov

[WiX-users] Multiple netsh commands

2011-03-02 Thread Gregg Swanson
Hello, I have to execute multiple commands that look like the following - netsh http add urlacl url=http://+:8200/[VARIES]/ user=[AGENTACCOUNT] Do we have mechanism to support this? I have the list of url's to permit in an msbuild item collection: https://+:443/BugService/"/> https