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 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 Robbins wrote: >

[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 Volt Delta International GmbH, Landsberger Str. 110, D-80339 Muenchen Sitz: Muenchen, Amtsgericht Muenchen, HRB 156693, VAT-ID DE81

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. :) John Wintellect http://www.win

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: wix-use

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 Bob Arnson
On 16-Feb-11 19:15, John Robbins wrote: > Also, I'm going to file a bug report for WiX 3.6 that they start adding the > PDB files for the CAs to the distributions. If I had those, I'd break in and > be able to debug the CA myself. You misspelled "feature request." Alas, it's already implemented,

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 ulti

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 beca

[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] 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 s

[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 insta

[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? http://www.w3.org/1999/XSL/Transform"; x

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 wou

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 thi

[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. Thanks, Gregg -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Stu

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 - Sta

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 won

[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] 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

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 decrypti

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 t

Re: [WiX-users] UAC - random name

2011-02-16 Thread Andreas Hiltner
Thanks, that works great! -- Viele Gruesse, Andreas mailto:andr...@andreas-hiltner.de > > > Bruce Cran > Wednesday, February 16, 2011 11:13 > > > On Wed,

Re: [WiX-users] UAC - random name

2011-02-16 Thread Bruce Cran
On Wed, 16 Feb 2011 10:21:33 -0500 Andreas Hiltner 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 "random number" wi

[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

[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 yo

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 only

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 wrote: > > > Hello > > I'm currently storing the SQL sa password so the database can be > uninstalled later. > > Value='[SQLPASSWORD]' Type='string' /> > > > > Root='HKLM' Type='raw'/> >

[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] 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: 2nd I added to the next button: 1 WINDOWSSERVICE=1 WINDOWSSERVICE

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: wix-users@lis

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

2011-02-16 Thread Eschenbacher, Frank
Hello all, I created the following (excerpt): When I select the Windows Service feature, then everything is installed as expected, when I select the Run Key feature, then t