[WiX-users] Calling CustomAction which requires Elevated Privileges from UI PushButton

2013-11-22 Thread Bevan Weiss
Hi all, I'm trying to create a WIX installer which allows a user to select a certificate to use for a Web Site SSL binding. However, if they don't have a valid certificate installed yet (just looking in the Local Machine, My certificate store) then I'd like them to be able to generate a Self-Signe

Re: [WiX-users] Enable/Disable IIS AppPool's LogEventOnRecycle using WiX

2013-11-22 Thread John Cooper
And for all that appcmd.exe, to achieve the result in my example, you would be better off using: The important attributes are "AccessSSL" and "AcessSSL128". -- John Merryweather Cooper Build & Install Engineer -- ESA Jack Henry & Associates, Inc.(r) Shawn

Re: [WiX-users] Enable/Disable IIS AppPool's LogEventOnRecycle using WiX

2013-11-22 Thread John Cooper
I hate appcmd.exe. That being said, CAQuietExec64 is usually a much better choice. For example: I have the commit bit instead of the deferred bit set for a reason. There's no good way to rollback out of appcmd.exe calls. So I execute th

Re: [WiX-users] Enable/Disable IIS AppPool's LogEventOnRecycle using WiX

2013-11-22 Thread Chad Petersen
For things IIS related not directly authored in WiX code I've found APPCMD.EXE to be a useful substitute in a custom action for those sorts of things. These are older and may be supported natively now, but some examples. -Original Message- From: Tony [mailto:yellowjacketl...@g

[WiX-users] Enable/Disable IIS AppPool's LogEventOnRecycle using WiX

2013-11-22 Thread Tony
Is it possible to set an AppPool's LogEventOnRecycle bitmask using WiX? I don't see it, but maybe missed it. -- Tony -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront

Re: [WiX-users] Registry component shared within multiple features

2013-11-22 Thread Nicolás Alvarez
2013/11/22 wixtester : > Thanks for the suggestion. > Putting KeyPath to the registry element didnot make any difference. It still > gets removed. > Is SharedDllRefCount="yes" correct attribute for a component that has a > shared registry entry? > > thanks. That attribute is only necessary when yo

Re: [WiX-users] Registry component shared within multiple features

2013-11-22 Thread wixtester
Thanks for the suggestion. Putting KeyPath to the registry element didnot make any difference. It still gets removed. Is SharedDllRefCount="yes" correct attribute for a component that has a shared registry entry? thanks. -- View this message in context: http://windows-installer-xml-wix-tool

Re: [WiX-users] Registry component shared within multiple features

2013-11-22 Thread Nicolás Alvarez
2013/11/22 wixtester : > Hi, > > How do I reference count a registry component to use it between 2 > features? I have a feature named Agent that is shared by two other features, > say, Auth and Bridge. Agent feature has a component that writes to registry. > When I remove Auth or Bridge feature,

Re: [WiX-users] InstallLocation (reg value) vs TARGETDIR vs Volume free space...

2013-11-22 Thread Phil Wilson
It's a good thing to set ARPINSTALLOCATION anyway. Any company with management or inventory tools that use the standard MSI APIs can then use MsiGetProductInfo (...INSTALLPROPERTY_INSTALLLOCATION...) or equivalent to find the install directory chosen by the customer. Or for upgrades you may need to

[WiX-users] Registry component shared within multiple features

2013-11-22 Thread wixtester
Hi, How do I reference count a registry component to use it between 2 features? I have a feature named Agent that is shared by two other features, say, Auth and Bridge. Agent feature has a component that writes to registry. When I remove Auth or Bridge feature, the registry entry gets removed fr

Re: [WiX-users] Help with installer admin privileges

2013-11-22 Thread RussellResthaven
Never mind, looks like I found the answer. I've always disliked Windows 7 UAC security where it gives a pop-up every time anything wants to change my system, which is often (java, flash, etc). So the first thing I do whenever I setup a machine is slide the slider down to the bottom to select "neve

Re: [WiX-users] InstallLocation (reg value) vs TARGETDIR vs Volume free space...

2013-11-22 Thread Tony
Wait, after re-reading Blair's email 2-4 times, I realized what he is suggesting. Correct me if I'm wrong... I don't need to bother with ARPINSTALLLOCATION at all, instead I should use AppSearch/ComponentSearch at startup (during uninstall/upgrade) for a "well-known" component (mostly one in MYRO

Re: [WiX-users] Directory getting listed in IIS

2013-11-22 Thread Nick Ramirez
You can dynamically set an install directory with the SetDirectory element. The WebVirtualDir element, in the IIS extension, uses the Directory property to point to a Directory element. So if you set up your Directory element, point to it with WebVirtualDir, and use SetDirectory to change its targe

Re: [WiX-users] InstallLocation (reg value) vs TARGETDIR vs Volume free space...

2013-11-22 Thread Tony
Thanks, so Windows Installer itself does nothing with the value? On Fri, Nov 22, 2013 at 10:00 AM, Blair Murri wrote: > You would need to set either MYROOTDIR or FEAT1DIR (whichever is the most > parent you are using) from an AppSearch of some sort. Best is to use a > component search if you ha

Re: [WiX-users] InstallLocation (reg value) vs TARGETDIR vs Volume free space...

2013-11-22 Thread Blair Murri
You would need to set either MYROOTDIR or FEAT1DIR (whichever is the most parent you are using) from an AppSearch of some sort. Best is to use a component search if you have a component using the parent-most directory you are using. You could use a registry search to retrieve ARPINSTALLLOCATION

Re: [WiX-users] Setting name of reference directory and virtual directory same.

2013-11-22 Thread Blair Murri
Having thought about this overnight, I had an idea. I haven't tried this, but I believe it should work. Change this line: to these two lines: NOT Installed Let us know if that works or not. BTW, you do know to use virtual machines to test installers, right? You snap

Re: [WiX-users] Placing XXXSequences in a fragment

2013-11-22 Thread David Watson
We have several products that share code. These are organised into final .exe packages that run a custom bootstrapper/chainer (we started this long before burn and have yet to move to burn) that install one or more MSIs. Each msi has a main wix file that has all the basic settings i.e. product,

Re: [WiX-users] Help with installer admin privileges

2013-11-22 Thread Blair Murri
If you open up the MSI in Orca and View → Summary Information, you should see a checkbox near the bottom (in the Source Image box) of the dialog: UAC Compliant. It should be “not checked”. Then look in the Property table. You should find a property named ALLUSERS that is set to the value of 1.

Re: [WiX-users] Removing specific folders only

2013-11-22 Thread Carter Young
Restructure the Setup to put the Data in the AppData Folder. If this is a corporate install, leaving it behind is OK, as employees won't know its there. If it's for public Consumption, the AppData Folder is the Accepted Practice. Create the Directory Structure, then add the Components in

Re: [WiX-users] Placing XXXSequences in a fragment

2013-11-22 Thread Tony
On Thu, Nov 21, 2013 at 7:26 PM, Rob Mensching wrote: > Honestly, when I hear about lots of defines and lots of includes I become > suspicious that the code is not leveraging Fragments effectively. > That's a good point and just the sort of thing that I'm surprised isn't discussed (or blogged) mo

Re: [WiX-users] InstallLocation (reg value) vs TARGETDIR vs Volume free space...

2013-11-22 Thread Tony
So, how best can I resolve this issue? Given the directory structure below... I allow the installer to change MYROOTDIR during the UI sequence, so some time _after_ the UI sequence I'll need to set ARPINSTALLLOCATION (during install only). During uninstall/upgra

Re: [WiX-users] Removing specific folders only

2013-11-22 Thread Suvrajyoti Panda
Hi, Just to add, I have tried setting one of components manually as permanent=yes in the wxs file of the data directory(trunkdata.wxs, i have created this by heat). This seems to leave the folder structure and component that i marked a permanent. Is there a way in heat that i can assign the at

Re: [WiX-users] Removing specific folders only

2013-11-22 Thread Suvrajyoti Panda
Hi Carter, This does not work in the first place as element is not supported inside a Component. Moreover i need that only the data directory be left behind on uninstall. Reiterating once more if i have not specified correctly earlier: Under C:\Energy Solutions(Not using x86 anymore as ealier