[WiX-users] select one of two features by radio button

2011-02-16 Thread Eschenbacher, Frank
Hello all, I created the following (excerpt): ?define DefaultWinService=1? Property Id=WINDOWSSERVICE Value=$(var.DefaultWinService)/ Component Id=serviceSupervisorExe Guid=439d3ca1-328f-4c87-8d82-7e8c4795369f File Source=$(var.BinDir)supervisor.exe KeyPath=yes TypeLib

Re: [WiX-users] Encrypt and store the SQL sa password in the windowsregistry

2011-02-16 Thread Peter Shirtcliffe
No. You may be able to find something you can use here: http://msiext.codeplex.com/ You should also mark your Property with Hidden=yes so it doesn't appear in the logs. -Original Message- From: Thai-Hoa Nguyen [mailto:taiwa...@hotmail.com] Sent: 15 February 2011 22:40 To:

Re: [WiX-users] select one of two features by radio button

2011-02-16 Thread Eschenbacher, Frank
I found a solution to the problem but I still must enable/disable features with jscript. Does anyone know how to do this? 1st I changed the two features: Feature Id=WindowsService Title=Start CLASSLIB as Windows Service Level=1 !-- Condition Level=1![CDATA[WINDOWSSERVICE=1]]/Condition --

[WiX-users] Patching Using Purely Wix

2011-02-16 Thread Liam Flanagan
Hello All, I've been wondering if it's possible to create minor patches using the purely wix method, however only using the baseline and QFE MSI packages instead of requiring the original source files and structure that the MSIs were built from. I want have the benefits of purely wix patching

Re: [WiX-users] Encrypt and store the SQL sa password in the windows registry

2011-02-16 Thread Rob Mensching
Not today but it would be a great custom action to have. On Tue, Feb 15, 2011 at 2:40 PM, Thai-Hoa Nguyen taiwa...@hotmail.comwrote: Hello I'm currently storing the SQL sa password so the database can be uninstalled later. RegistryValue Root='HKLM' Key='SOFTWARE\xyz\abcName='SQLPwd'

Re: [WiX-users] Conditionally invoking ServiceInstall Element

2011-02-16 Thread Rob Mensching
I don't think more disk space should be consumed if things are cabbed and the service executable is identical in the two Components (one Conditioned, the other not) because only one will ever get installed on the machine (due to mutually exclusive Conditions) and smart-cabbing should make sure

[WiX-users] UAC - random name

2011-02-16 Thread Andreas Hiltner
Hi, When I install our generated MSI file, a dialog pops up, to ask the user, if he wants to allow the [insert random number here].msi to make any changes to the computer. Now we would like to replace the random number with the name of the MSI file or ProductCode. How do I do that? Maybe you

[WiX-users] Disable Log in as admin Dialog during uninstall

2011-02-16 Thread Odamteng, Abraham
While Windows UAC is enabled, If the user attempts to uninstall the program using Add-Remove-Programs they will get a UAC prompt. If the user allows this prompt to time-out (or answers No), a message pops-up indicating the user must be an Administrator and should log-on as an Admin or contact

Re: [WiX-users] UAC - random name

2011-02-16 Thread Bruce Cran
On Wed, 16 Feb 2011 10:21:33 -0500 Andreas Hiltner andr...@andreas-hiltner.de wrote: Hi, When I install our generated MSI file, a dialog pops up, to ask the user, if he wants to allow the [insert random number here].msi to make any changes to the computer. Now we would like to replace the

Re: [WiX-users] UAC - random name

2011-02-16 Thread Andreas Hiltner
Thanks, that works great! -- Viele Gruesse, Andreas mailto:andr...@andreas-hiltner.de mailto:frankenin...@gmail.com Bruce Cran mailto:br...@cran.org.uk Wednesday, February 16, 2011 11:13 On Wed, 16 Feb

Re: [WiX-users] Conditionally invoking ServiceInstall Element

2011-02-16 Thread Christopher Painter
I usually try to do two different file names to avoid the ICE warning about conditional components.  Will smart cabbing  work on two files with different names but the same hash?   --- Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good

Re: [WiX-users] Encrypt and store the SQL sa password in the windows registry

2011-02-16 Thread James Johnston
Isn't storing the administrator password for a server in the registry a terrible idea? This is setting off all kinds of alarm bells in my mind... Even if you encrypt it, I would think it would still be easy enough to recover the plaintext just by finding the key in the MSI file and then

Re: [WiX-users] Possible to force an uninstall and ignore errors?

2011-02-16 Thread sd
Thanks! That was just what I was looking for. I did try the /f flag before but the options I was using weren't working. Thanks again, Jeff 1. Build a new MSI (with the same ProductCode) that uninstalls correctly. 2. msiexec /fv new.msi to recache/reinstall your MSI over the bad MSI. 3.

[WiX-users] heat to generate directoryid same as the directory name

2011-02-16 Thread Konda, Kavya R
Hi, I am using heat to harvest a directory with sub-directories in it. I was wondering if there is a way to make Heat get the directory id same as the directory name. Currently this is command I have for using heat: heat dir BuildOutputs\ABC -cg DirectoryStructure -gg -sfrag -sreg -srd -dr

Re: [WiX-users] heat to generate directoryid same as the directory name

2011-02-16 Thread Konda, Kavya R
I got itI used -suid to do it. Thanks, KK From: Konda, Kavya R Sent: Wednesday, February 16, 2011 11:00 AM To: 'wix-users@lists.sourceforge.net' Subject: heat to generate directoryid same as the directory name Hi, I am using heat to harvest a directory with sub-directories in it. I was

Re: [WiX-users] Encrypt and store the SQL sa password in the windows registry

2011-02-16 Thread Castro, Edwin G. (Hillsboro)
That all depends on what key you use to encrypt the data. If the key is associated with the SYSTEM context then only the SYSTEM context will be able to decrypt the data. If an attacker already has access to the SYSTEM context then it's already Game Over. Edwin G. Castro Software Developer -

[WiX-users] How to use the InstallCondition on a MsiPackage

2011-02-16 Thread Gregg Swanson
How do I use the InstallCondition on a MsiPackage? I would like to install this MSI package of the property FOO is set to ALL. MsiPackage SourceFile=$(var.DeviceManager.TargetPath) Name=$(var.DeviceManager.TargetFileName)

Re: [WiX-users] Encrypt and store the SQL sa password in the windows registry

2011-02-16 Thread James Johnston
I think that would depend on whether the SQL Server is located on the same physical computer as the software in question that wants to store an account password. If it's the same computer then you are correct - in fact that thought had already crossed my mind. The one remaining issue I can

Re: [WiX-users] Encrypt and store the SQL sa password in the windows registry

2011-02-16 Thread Castro, Edwin G. (Hillsboro)
I completely agree with you assessment of the storage of the sa password. You should *NEVER* store a god/root password like that anywhere. I'm looking more closely at the thread subject and realize now that the question is specifically about the sa password. I would discourage this action. I

[WiX-users] Transform xsl does not indent

2011-02-16 Thread sangeeta1
Hi, I am passing Transform xls to Heat.exe command to generate a fragment wxs source file. The xsl has the indent attribute set to yes and yet the output wxs file does not show indentation. Any idea what's the right way to indent the output wxs file? xsl:transform version=1.0

[WiX-users] admin vs. non-admin

2011-02-16 Thread Lukas Haase
Hi, How is it handled when I do not check for admin rights and users install my program without admin privileges? In this case, they won't be able to register the program in the global Uninstall list/MSI registry I guess. However, what happens when program with same UpgradeCode is first

Re: [WiX-users] Encrypt and store the SQL sa password in the windows registry

2011-02-16 Thread Wilson, Phil
The secure way to do this is to use the DPAPI. Phil Wilson -Original Message- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: Wednesday, February 16, 2011 10:33 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Encrypt and

[WiX-users] Creating just a web app pool on Server 2008 R2 with IIS 7.5, WiX 3.5 RTM

2011-02-16 Thread John Robbins
Hello, I'm at wits end trying to make an installer that does nothing more than create an IIS7 app pool and set a registry key. No matter what I've tried, the application pool never gets created, but the registry key is written. They are both part of the same component like the following:

Re: [WiX-users] wix200x.targets missing from 3.6?

2011-02-16 Thread Bob Arnson
On 14-Feb-11 14:06, John Thornborrow wrote: I've just updated my installation to 3.6.1321.0, and when reloading existing wix projects, I am prompted with Access to the path 'C:\Program Files (x86)\MSBuild\Microsoft\Wix\v3.x\wix200x.targets' is denied. Error. Upon checking, this is because

Re: [WiX-users] How to use the InstallCondition on a MsiPackage

2011-02-16 Thread Bob Arnson
On 16-Feb-11 13:35, Gregg Swanson wrote: How do I use the InstallCondition on a MsiPackage? Burn expressions support the same syntax as MSI, so you'd use FOO = ALL -- sig://boB http://joyofsetup.com/ -- The ultimate

Re: [WiX-users] admin vs. non-admin

2011-02-16 Thread Bob Arnson
On 16-Feb-11 17:13, Lukas Haase wrote: However, what happens when program with same UpgradeCode is first installed globally as administrator and the next version installed as non-admin user? MSI doesn't support a per-machine package upgrading a per-user package, or vice-versa. It's best to

Re: [WiX-users] Creating just a web app pool on Server 2008 R2 with IIS 7.5, WiX 3.5 RTM

2011-02-16 Thread John Robbins
Good to know my beloved PDF files are there for 3.6. Good job! Sadly, we are using 3.5 for this project. :( John Wintellect http://www.wintellect.com +1-877-968-5528 -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Wednesday, February 16, 2011 5:10 PM To:

Re: [WiX-users] Creating just a web app pool on Server 2008 R2 with IIS 7.5, WiX 3.5 RTM

2011-02-16 Thread John Robbins
Just to complete the circle in case someone else has this problem. Turns out the IIS CAs in WiX require the WebSite element to be declared. In my example below, I added the following under the Product element and the IIS CA sprung to life. :) iis:WebSite Id=DefaultWebSite

[WiX-users] Enabling/disabling features by script

2011-02-16 Thread Eschenbacher, Frank
Hi all, does anyone know how to enable or disable a feature in a script? Cheers Frank Go Green - Please consider the environment before printing this email /PREhtmlp style=color: black; font-family: Arial; font-size: 8pt Volt Delta International GmbH, Landsberger Str. 110, D-80339

Re: [WiX-users] Creating just a web app pool on Server 2008 R2 with IIS 7.5, WiX 3.5 RTM

2011-02-16 Thread Yan Sklyarenko
I've recently faced this issue myself and here's even an easier work around: Just place EnsureTable / elements for IIsWebSite and IIsWebAddress tables, and the application pool will be created successfully. So, no need to define a fake website. -- Yan On Thu, Feb 17, 2011 at 6:06 AM, John