Re: [WiX-users] uninstalling a product silently before installing a new one

2007-11-26 Thread Kelly Leahy
Nope... As far as I know, NOTHING will work in that scenario. AFAIK, there's no way to handle this properly - you pretty much want to require that users either only can install as Everyone, or only can install as Just Me. Personally, I think "Just Me" is silly and can't come up with any good

Re: [WiX-users] uninstalling a product silently before installing a new one

2007-11-26 Thread Abubakar
Thanks for the xml code, I have followed this and it is working in one scenerio. But tell me, should this work if product1 was installed using "just me" and the product2 is being installed using "Everyone"? Cuz i am testing this and this the case in which my product1 is not getting uninstalled. ..

Re: [WiX-users] where are the logs

2007-11-26 Thread Abubakar
Thanks. regards, ..ab On Nov 26, 2007 2:12 PM, Rob Hamflett <[EMAIL PROTECTED]> wrote: > You can also turn on global logging. > > http://support.microsoft.com/kb/223300 > > Rob > > Abubakar wrote: > > ok, thank u. > > > > regards, > > ..ab > > > > > > On Nov 25, 2007 8:09 PM, DEÁK JAHN, Gábor <

[WiX-users] Reuse merge module in same product

2007-11-26 Thread si
Hi, Trying to get a product built for Reporting Services for a custom data and security extension. Reporting Services has ReportServer and ReportManager directories, and I need to copy files from the same merge modules into each of their respective bin directories. Is this possible? Can't find

[WiX-users] Searching for a file in the INSTALLDIR

2007-11-26 Thread Jörg Westheide
Hi! I need to determine whether a specific file that is not part of the distribution is located in the installation directory. So I tried But that apparently does not work since INSTALLDIR is not set when the DirectorySearch is performed. Is there a way to delay the DirectoryS

Re: [WiX-users] uninstalling a product silently before installing a new one

2007-11-26 Thread John Lalande
In theory (and in my projects), simply copy what you already have and replace 'product2guid' (which I hope is a uuid), with the UpgradeCode of the product you want uninstalled. In the new entry remove the UpgradeVersion that uses the NEWERPRODUCTFOUND property and replace PREVIOUSVERSIONSINSTALLED

[WiX-users] Windows XP is Installed - Launch condition

2007-11-26 Thread DE�K JAHN, G�bor
On Mon, 26 Nov 2007 12:47:29 -0300, Adrian Alonso wrote: Adrian, > is an "Official answer from MS" or "The correct way to achieve this" Absolutely official. Visit http://www.tramontana.co.hu/wix/lesson1.php#1.4 . Bye, Gábor --

Re: [WiX-users] Recreating duplicate .msi from revision control system

2007-11-26 Thread Christopher Painter
Your rebuilt MSI is getting a distinct PackageCode. Normally it's a best practice for each package to get a distinct PackageCode. I suppose in your CM environment, if the goal is to really reproduce the *EXACT* package, then you'll have to preserve the PackageCode that was used to gen

Re: [WiX-users] Services + Vista + GAC

2007-11-26 Thread Christopher Painter
How does WiX handle the deletion of the user if rollback is disabled by policy? Rob Mensching <[EMAIL PROTECTED]> wrote: On the MSI 4.5 aspect I would caution you to not get your hopes up. I haven't looked at the final details but I thought on one pass through the Beta I saw that all c

Re: [WiX-users] Recreating duplicate .msi from revision control system

2007-11-26 Thread Kelly Leahy
I don't know if it's possible to produce exactly the same MSI, but I think your problem is related to automatically generated package codes or product codes. If you want to be able to rebuild an MSI that acts exactly the same as one that already went out the door (I think this is generally a b

[WiX-users] Recreating duplicate .msi from revision control system

2007-11-26 Thread jriffel
We are using WIX 2.xx tools for a project which is kept under revision control. I'm trying to validate that I can reproduce an exact version of our software including the MSI distributable for historical purposes. However, I find that if I produce an MSI file twice using the same .WXS input f

Re: [WiX-users] Calling embedded binaries with dependencies in WIX

2007-11-26 Thread Adam Majer
Jose Sanchez Saldana (Excell Data Corporation) wrote: > I’m attempting to call sed.exe as an embedded binary from an MSI – > however, it has three dependencies: cygiconv2.dll, cygintl2.dll, and > cygwin1.dll. Does wix have any mechanism, through custom actions, that > would allow sed.exe to be call

[WiX-users] Calling embedded binaries with dependencies in WIX

2007-11-26 Thread Jose Sanchez Saldana (Excell Data Corporation)
I'm attempting to call sed.exe as an embedded binary from an MSI - however, it has three dependencies: cygiconv2.dll, cygintl2.dll, and cygwin1.dll. Does wix have any mechanism, through custom actions, that would allow sed.exe to be called from within the MSI - through the tag - without having

Re: [WiX-users] Windows XP is Installed - Launch condition

2007-11-26 Thread Adam Majer
Adrian Alonso wrote: > Hi! I need to add a launch condition to my product installer to > determine if the OS is Windows XP. My product can be only installed on > WinXP. Do you know which registry entry should I take or if I should use > another kind of launch condition? What I'm looking for is an "

Re: [WiX-users] Customizing dialogs with a checkbox

2007-11-26 Thread Luis Mejia
On Nov 17, 2007 2:55 AM, Bill Brooks <[EMAIL PROTECTED]> wrote: > So with the hope of helping others along, I created the following page that > details how to accomplish the above tasks. If it helps you, that's great. > If you notice any errors, let me know and I'll correct them. > > http://www.di

[WiX-users] Windows XP is Installed - Launch condition

2007-11-26 Thread Adrian Alonso
Hi! I need to add a launch condition to my product installer to determine if the OS is Windows XP. My product can be only installed on WinXP. Do you know which registry entry should I take or if I should use another kind of launch condition? What I'm looking for is an "Official answer from MS" or "

[WiX-users] Sequencing SqlDatabase and ServiceControl

2007-11-26 Thread Petr Vones
Hi, I have to change SQL Express authentification during setup to Mixed mode, create new user and new database for this user. It requires to restart the server to change the mode. How can I sequence multiple SqlDatabase and SqlScript commands and the service restart in between ? I use Wix 2.0.

Re: [WiX-users] uninstalling a product silently before installing a new one

2007-11-26 Thread Abubakar
Hi, can you provide me the tags necessary to do this? Right now my Upgrade tags look like this: regards, ..ab On Nov 26, 2007 7:16 PM, John Lalande <[EMAIL PROTECTED]> wrote: > ab > > It is much simpler then what you are proposing. Simply add the UpgadeCode

Re: [WiX-users] uninstalling a product silently before installing a new one

2007-11-26 Thread Christopher Painter
In theory it's that simple, but in practice there are many possible pain points in a major upgrade. It mostly depends on where you sequence RemoveExistingProducts and whether the upstream build process properly versioned all of the files that the install is consuming. Garbage into the costin

Re: [WiX-users] uninstalling a product silently before installing a new one

2007-11-26 Thread John Lalande
ab It is much simpler then what you are proposing. Simply add the UpgadeCode of the old product to the Upgrade table of your new product. The old one will be uninstalled in the same manner as a previous version...silently during the RemoveExistingProducts action. John --

[WiX-users] uninstalling a product silently before installing a new one

2007-11-26 Thread Abubakar
Hi, I have a product1, from my company, installed on some computer. Now my company makes a new product2 and wants to install it on the same machine (where product1 exists), but the condition is that the product1 should be first uninstalled. The requirement is that the uninstall cant happen as a sep

Re: [WiX-users] Detecting Which version of SQL is installed

2007-11-26 Thread Phil Sayers
is this a .net 2.0 product? If so, can't you package the .mdf and .ldf sql database & log files with your app and use the new connection string options on the System.Data.SqlClient to point to the database files and use those as your sql database instead of needing an installed instance? lower pe

Re: [WiX-users] where are the logs

2007-11-26 Thread Rob Hamflett
You can also turn on global logging. http://support.microsoft.com/kb/223300 Rob Abubakar wrote: > ok, thank u. > > regards, > ..ab > > > On Nov 25, 2007 8:09 PM, DEÁK JAHN, Gábor <[EMAIL PROTECTED] > > wrote: > > On Sun, 25 Nov 2007 20:02:12 +0500, Abubakar w

Re: [WiX-users] WiX 2.0 created MSI occasionally fails to install on Vista

2007-11-26 Thread Rob Hamflett
The only thing that I can think to cause this would be if the command prompt was elevated. Have you tried logging the installation to see what the differences are? This article explains how to turn on global logging so you can get the logs for the double-click installation. http://support.mi

Re: [WiX-users] WiX 2.0 created MSI occasionally fails to install on Vista

2007-11-26 Thread Ryan O'Neill
Ah, sorry, didn't see you there amongst all the spam! I mean that from a command prompt it installs the Browser Helper Object DLL just fine, but when run via double clicking it does not. It appears to work the same but the DLL is not registered properly and does not get installed into IE. But, thi