Re: [WiX-users] Clarification on the MSI security

2009-12-22 Thread Bruce Cran
On Mon, 21 Dec 2009 22:21:47 -0800 (PST) Andy2k8 wrote: > > If anybody can use the orca tool to edit a shipped MSI package, are > we not compromising on the security of the installer database? Or is > there any way i can make my MSI read only? You can sign MSI files using an Authenticode signat

Re: [WiX-users] Conditional installation of a feature

2009-12-22 Thread Blair
Back to your original authoring: CostFinalize is run twice in any given installation with UI: during InstallUISequence and during InstallExecuteSequence. Is MYPROPERTY marked as secure? If it isn't, it will be 0 (the default) during InstallExecuteSequence (not whatever you set it as during Install

[WiX-users] Setting properties in custom actions

2009-12-22 Thread David Allen
I am updating an installer for a product that provides multiple applications and want to change it so that it creates shortcuts only for applications that have a valid licence. The basic approach is to define each shortcut in a separate component, to set a condition on the component based on th

[WiX-users] writing to console from smoke.exe using custom action

2009-12-22 Thread nagaram.c
Hi, I wrote a custom action dll in C++ & added to .cub file that I am using in -cub switch in smoke.exe, I was not successful in writing to console like the ICE(s) in darice.cub does it but I am able to display the log info in MessageBox. Thanks, Nag -

Re: [WiX-users] Setting properties in custom actions

2009-12-22 Thread Blair
The on the components is evaluated during CostFinalize, not CreateShortcuts. You don't get the shortcuts because the components installing the shortcuts are not being installed due to the false condition on them. I would recommend moving your CheckApplicationLicence custom action sequence to befo

Re: [WiX-users] writing to console from smoke.exe using custom action

2009-12-22 Thread Blair
You need to use MsiProcessMessage with the INSTALLMESSAGE_USER type. See http://msdn.microsoft.com/library/aa369205.aspx for details. -Original Message- From: nagaram.c [mailto:nagara...@symphony.cc] Sent: Tuesday, December 22, 2009 5:13 AM To: wix-users@lists.sourceforge.net Subject: [Wi

[WiX-users] Forcing uninstall with different InstallScope?

2009-12-22 Thread Evan Beeton
Hello, We're building a WiX installer to replace an old one built with InstallShield; the original is authored as per-user, but we think that per-machine is more appropriate. Our understanding is that you can't perform an upgrade when the InstallScope is different, so we tried just forcing an unin

Re: [WiX-users] Forcing uninstall with different InstallScope?

2009-12-22 Thread Blair
The Upgrade table/RemoveExistingProducts action cannot cross scopes. You will have to use a bootstrapper to remove the old per-user installation. -Original Message- From: Evan Beeton [mailto:ebee...@informasoftware.com] Sent: Tuesday, December 22, 2009 11:23 AM To: General discussion for

Re: [WiX-users] RegistrySearch execution

2009-12-22 Thread Kevin Garman
G reat, thanks. -- Thanks, Kevin Garman, Project Engineer SCADAware, Inc. www.scadaware.com On Tue, 2009-12-22 at 10:12 +1100, Sascha Beaumont wrote: > The documentation indicates that it happens during AppSearch > (http://msdn.microsoft.com/en-us/library/aa367578(VS.85).aspx) - > Regist

[WiX-users] AUTO: David Jackson is out of the office (returning 23/12/2009)

2009-12-22 Thread David Jackson
I am out of the office until 23/12/2009. I'm on vacation until Monday January 4. Please email Cognos RD Build Engineering Support or for urgent matters contact my team lead Robert Lyonnais or my manager Ben Fowler. Note: This is an automated response to your message "[WiX-users] Forcing unin

[WiX-users] wixlib and custom actions

2009-12-22 Thread eric.hybner
I defined some components and custom actions and use those custom actions in the InstallExecute sequence within a Fragment. When I create a wixlib (with lit.exe) from that Fragment and include the .wixlib with my primary msi light command line, I get the components, but not the custom actions or th

Re: [WiX-users] wixlib and custom actions

2009-12-22 Thread Rob Mensching
Can you share out an example of how the elements are organized in Fragments? Most likely you're just needing a reference that isn't in place. On Tue, Dec 22, 2009 at 3:33 PM, wrote: > I defined some components and custom actions and use those custom > actions in the InstallExecute sequence withi

Re: [WiX-users] Expanding an env var at install time when writing to the registry

2009-12-22 Thread Rob Mensching
Ahh, that makes sense. The example I read didn't... but of course I was calling you Brian so who knows what I was really thinking. On Fri, Dec 18, 2009 at 2:28 PM, Markus Gaugusch wrote: > Hi Rob, > > (You probably ment me, because I don't know who Brian is ;-) > I needed to set a property to t

Re: [WiX-users] wixlib and custom actions

2009-12-22 Thread eric.hybner
I'm not sure if this is as-designed or not, but it turns out the problem was in having multiple fragments in the wixlib source, and no reference between the fragments. This doesn't include the CustomAction or InstallExecuteSequence updates, but it does include the Component and ComponentGroup

Re: [WiX-users] wixlib and custom actions

2009-12-22 Thread Bob Arnson
eric.hyb...@emc.com wrote: > I'm not sure if this is as-designed or not, but it turns out the problem > was in having multiple fragments in the wixlib source, and no reference > between the fragments. > Yes, that's by design. You can add references and keep the fragments small, which has the

Re: [WiX-users] correct syntax for checking component state in condition

2009-12-22 Thread Bob Arnson
Amy Rosewater wrote: > What is the correct syntax for checking to see if a component is > currently installed on a system during an uninstall. I want to execute > a custom action if the component in question is not installed. > See the MSI SDK topic "Conditional Statement Syntax." -- sig://b

Re: [WiX-users] WiX, InstallShield and combining multiple MSIs

2009-12-22 Thread Bob Arnson
Carter, Patrick wrote: > I have been tasked with building a CD-based "install" that check the pre-reqs > (this I can do) and get all these MSI's into one install so they can be > selected and de-selected as "features". > You need a chainer. WiX's chainer is still in development. -- sig://bo

Re: [WiX-users] Conditional installation of a feature

2009-12-22 Thread Bob Arnson
Sudripta Nandy wrote: > I want to install a feature depending on the user's choice. I have a > property 'MYPROPERTY' whose default value is '0'. If the user checks a > checkbox, I am setting that property value to '1' and installing that > feature. http://www.joyofsetup.com/2007/05/30/featu

Re: [WiX-users] Check for admin privilege in repair/change

2009-12-22 Thread Bob Arnson
nandini sa wrote: > I have included the property: > Privileged to check for admin rights during installation. An > error prompt is displayed during install/remove, but the same is not shown > during change/repair. Thus a non-admin user is allowed to repair and change > the features installed. >

Re: [WiX-users] Quick Launch shortcut in Vista and Windows 7

2009-12-22 Thread Bob Arnson
Tony Juricic wrote: > Hmm... I guess I would have a hard time to pass a concept here that I > actually like the declarative way of doing things and am given to push it as > much as possible, no matter how much attained functionality is approved of or > looked down upon in certain circles. >

Re: [WiX-users] writing to console from smoke.exe using custom action

2009-12-22 Thread nagaram.c
I already tried below solution but is not writing to console, I think MsiProcessMessage works only if the custom action is run through msiexec or if the CA is immediate mode, but where as I am running these CA through smoke utility & for the CA to be made immediate I will have to create the CA from

[WiX-users] BrowseDlg & SelectionPathOn help

2009-12-22 Thread Sagar1111
Hi I am using WixUI_Mondo as my UI. However i am skipping SetupTypeDlg which comes with standard WixMondo (This is because i have a single feature). Now i have added a my own dialog ChangeFolderDlg between LicenseAgreementDlg and VerifyReadyDlg. In this dialog i have 1) a control of type text to