Re: [WiX-users] INSTALLDIR and Upgrades (reposted in correct forum)

2010-10-14 Thread Blair
I recommend that you set it as a property anytime between FindRelatedProducts and CostInitialize. See http://msdn.microsoft.com/library/aa367852.aspx for some related details. -Original Message- From: gapearce [mailto:mr_gapea...@yahoo.com] Sent: Thursday, October 14, 2010 10:05 AM To: wi

Re: [WiX-users] Simple Upgrade/Reinstall Question

2010-10-14 Thread John Bergman
What would I do to the UpgradeCode to get that to work as well? Would that not be needed then? [probably a MSI question], but how does the installer know what the previous version is in order to uninstall it? -Original Message- From: Alexander Kozlenko [mailto:alexander.kozle...@hotm

Re: [WiX-users] Convert AllUsers Install to PerUser

2010-10-14 Thread John Bergman
The application, itself is able to run as a restricted user; currently we have a boot-strapper that installs several other things, such as the .NET framework, among other things... the client agrees that they will push them to the various computers as required prior to any deployment so we are

[WiX-users] "Error 2725: Invalid database tables" error while uninstalling a patch

2010-10-14 Thread Pramodh_Peddi
We use wix installer 3.0 to build MSIs and MSPs. We have the product installed with msi and has a bunch of patches (MSPs) installed on it. We build the latest patch and installed on the top of that. Installing works fine and the product also works fine. The problem is that we can't uninstall tha

Re: [WiX-users] Convert AllUsers Install to PerUser

2010-10-14 Thread Wilson, Phil
And a lot of that is often about what the installed app needs. If it's a service, or requires you to write entries in HKLM, or register COM in HKCR, install files to any location not writable by a limited user etc then the issue is the app, not the install, if the app needs those to actually wor

Re: [WiX-users] Convert AllUsers Install to PerUser

2010-10-14 Thread Barneck, Jared
Hah, hah! This is a client relations problem not a WIX problem. QUOTE: ...and the client has decided that this limitation is unacceptable... 1. Make a list of the actions in your MSI that require administrative privileges. 2. Decide if you can do away with them? Yes/No If the answer is no, th

Re: [WiX-users] Need help in updating permission of a registry key

2010-10-14 Thread dB .
If you end up going the custom action route, please do consider contributing it to http://msiext.codeplex.com. This is something we could use too and you'll get a jumpstart with a mature CA infrastructure. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Surya

[WiX-users] Problem with some data

2010-10-14 Thread Antonio Llano Batarrita
Hello, I have a problem upgrading my product. The database file is deleted or overwritten. It is due to a bad previous installation process. I need to correct it. I need to backup the data and restore it later if an older version is already installed. I think that I need to create a Cus

Re: [WiX-users] Convert AllUsers Install to PerUser

2010-10-14 Thread Chris Lord
John, I don't believe you can do it as an "upgrade" i.e. all in one go. An installer is either per-user or per-machine. You can't upgrade a per-machine install to per-user install or vice-versa. I think your only option is to un-install your previous version and then install the new one as

Re: [WiX-users] Convert AllUsers Install to PerUser

2010-10-14 Thread Christopher Painter
Would your client consider it acceptable if an administrator had to "bless" the package ( publish / advertise ) and that a standard user could then actually install it? Changing an application from all-users to per-user isn't always as simple as it sounds.   Install the .NET framework?  Create

Re: [WiX-users] Simple Upgrade/Reinstall Question

2010-10-14 Thread Chris Lord
John, Just to elaborate, you cannot install a package where the product ID matches that of an already installed product. You should change either your product ID to * (which will create a new ID every time you build your MSI) or alternately, change it manually yourself. I tend to do the lat

Re: [WiX-users] Simple Upgrade/Reinstall Question

2010-10-14 Thread Alexander Kozlenko
Product Id="*" -Original Message- From: John Bergman [mailto:john.berg...@xpedienttechnologies.com] Sent: Thursday, October 14, 2010 8:30 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Simple Upgrade/Reinstall Question I could not get this to work,

[WiX-users] Need help in updating permission of a registry key

2010-10-14 Thread Suryadeep Biswal
Hi, I have an existing registry key "\HKLM\Software\Microsoft\SystemCertificates". I need to grant the account "Network Service" read access on this key. Currently I cannot find a way to solve this. Here are the things I have tried so far: 1. Using the WIX in-built tags and , I am able

[WiX-users] Convert AllUsers Install to PerUser

2010-10-14 Thread John Bergman
Does anyone have any experience as to how to do this? Currently, we install as an all-users piece of software; mostly because I wanted to make the software available to anyone who logs in. We are required to install without the installer UI, so that seemed like the easiest route to take. The

Re: [WiX-users] Simple Upgrade/Reinstall Question

2010-10-14 Thread John Bergman
I could not get this to work, and still have the same issue where I get the popup "Another version of this product is already installed". I tried several incantations, but just cannot seem to get this to work, here is a snippet from my installer file, does anyone have any ideas as to what I need

[WiX-users] AUTO: Kenneth L Resler is out of the office. (returning 10/15/2010)

2010-10-14 Thread Kenneth . Resler
I am out of the office until 10/15/2010. I will be physically out of the office, with limited email and phone access. Note: This is an automated response to your message "[WiX-users] INSTALLDIR and Upgrades (reposted in correct forum)" sent on 10/14/2010 12:04:39 PM. This is the only notifi

[WiX-users] INSTALLDIR and Upgrades (reposted in correct forum)

2010-10-14 Thread gapearce
Sorry about reposting this; I put it in the wrong forum initially... My installer allows the user to specify the folder location for the initial install. But on an upgrade, I'd like to prevent them from changing that location, so I don't allow them to specify the folder. I think I understand ho