Re: [WiX-users] Installer has insufficient privileges to access this directory

2006-10-16 Thread Bruce Ng
Hi,   Oops there was a mistake. The command-line should be /i instead of /a Anyways, this command-line also fails just like double click it. The following is a truncated section of the log file.   == .. MSI (s) (64:74) [14

[WiX-users] Installer has insufficient privileges to access this directory

2006-10-16 Thread Bruce Ng
Hi,   I’m currently facing an intermittent problem. Whenever I install/uninstall multiple times using the msi installers generated by WIX, I get this error. The installer has insufficient privileges to access this directory: [2].  The installation cannot continue. Log o

Re: [WiX-users] Uninstall Custom action

2006-10-16 Thread Dane Anderson
I believe I have answered my own question. By adding a binary element (child of Product element) - I was able to execute the CabInstaller with it's uninstall option when (and only when) doing an uninstall. It required me to change my custom action to use a binary key rather than a file key.

Re: [WiX-users] What is KeyPath in refrence to Registry keys

2006-10-16 Thread Mike Dimmick
The Key Path is how Windows Installer decides whether a component is already installed or not. If the key path is present, the installer doesn't do anything regarding the other resources in that component. For files it will also look at the version numbers, but for registry data it simply de

Re: [WiX-users] detecting previous version's ALLUSERS property

2006-10-16 Thread John Lalande
This works!  Thanks so much, Bob and Pete!On 10/16/06, Pete Cole <[EMAIL PROTECTED]> wrote: > I tried using MsiGetProductInfo with> INSTALLPROPERTY_ASSIGNMENTTYPE, however the function returned > the error "Unknown Property".  Was I supposed to use this> value with MsiGetProductInfo or is there ano

Re: [WiX-users] Uninstall Custom action

2006-10-16 Thread Dane Anderson
Sorry to be bending your 'ears' with this. OK. I think I know what is happening now. It *IS* executing my custom action. The problem is, the binary executable that is supposed to get run (cabinstaller.exe) doesn't exist on the machine in the %temp% location, when the custom action is run. Cabinst

Re: [WiX-users] detecting previous version's ALLUSERS property

2006-10-16 Thread Pete Cole
> I tried using MsiGetProductInfo with > INSTALLPROPERTY_ASSIGNMENTTYPE, however the function returned > the error "Unknown Property". Was I supposed to use this > value with MsiGetProductInfo or is there another function I > should be using? > This, I think, works for me: extern "C" UINT

Re: [WiX-users] Uninstall Custom action

2006-10-16 Thread Wilson, Phil
REMOVE="ALL" is the right syntax. Must be time for a log: Msiexec /x {your productcode guid} /l*v somepathtoalog.log Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dane Anderson Sent: Monday, October 16, 2006 10:53 AM To: wix-users@list

[WiX-users] Terminal Services Awareness

2006-10-16 Thread Tina Basinger
I am trying to make our install "Terminal Services" compatible by setting our deferred custom actions to have the attribute TerminalServicesAware="Yes" (or in other words, set the msidbCustomActionTypeTSAware attribute).     However, in some cases, I am unsure whether the custom action should run u

Re: [WiX-users] Uninstall Custom action

2006-10-16 Thread Dane Anderson
No soap. I tried: Remove="ALL" and REMOVE="ALL" and REMOVE="all" and Remove="all" and REMOVE="All" and Remove="All" With all I got the same results. It doesn't execute the DeleteCabs CustomAction. > -Original Message- > From: Wilson, Phil [mailto:[EMAIL PROTECTED] > Sent: Monday, Octo

Re: [WiX-users] detecting previous version's ALLUSERS property

2006-10-16 Thread John Lalande
Because it requires loading other users' registry hives, MSI doesn'tsupport "cross-context" upgrades. So a per-machine install can't detect upgrade a per-user install. MsiEnumRelatedProducts likely uses the samelogic.My intent is not for a per-machine install to upgrade a per-user install.  By defa

[WiX-users] What is KeyPath in refrence to Registry keys

2006-10-16 Thread Jeff MacDuff
I am trying to port some Wix from one file to another, in the V1 file … there are about 100 registry keys and each one with it’s individual component ID. I would like to consolidate all of the registry keys into 1 component.   However, I can only list one of the keys with a KeyPath=”yes”

Re: [WiX-users] Uninstall Custom action

2006-10-16 Thread Wilson, Phil
Properties are case-sensitive in that syntax you're using. Try "ALL". Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dane Anderson Sent: Monday, October 16, 2006 9:28 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Uninstal

Re: [WiX-users] Distribute a WiX generated .msi file

2006-10-16 Thread John Vottero
> > I have a .msi file generated by using WiX. It is possible to use the > bootstrapper located in VS 2005 to distribute the > prerequisites and the > generated .msi file? If yes, what do I have to do? Yes, it is possible. Create an xml file similar to what follows and build it with a command

Re: [WiX-users] Uninstall Custom action

2006-10-16 Thread Dane Anderson
I'm sorry to be a pest, but could you elaborate. I've tried adding - REMOVE="All" Everywhere I thought it MIGHT belong. In most places it won't even compile. In the ONE place it does compile - REMOVE="All" (note: replaced the 'Installed' with 'REMOVE="All"') it does nothing. In other words the cus

[WiX-users] Distribute a WiX generated .msi file

2006-10-16 Thread Torsten Rudnick
I have a .msi file generated by using WiX. It is possible to use the bootstrapper located in VS 2005 to distribute the prerequisites and the generated .msi file? If yes, what do I have to do? - Using Tomcat but need to do mo

Re: [WiX-users] Add lots of registry keys / was hos to generate guids

2006-10-16 Thread Rob Hamflett
An easy way to cut down on lines of XML is to use nesting, but be aware that all nested stuff ends up in the same component. This will give you headaches if you ever want to remove one of the entries. Rob Jeff MacDuff wrote: > Ok great… thank you! > > > > Follow-up question regarding regi

[WiX-users] Add lots of registry keys / was hos to generate guids

2006-10-16 Thread Jeff MacDuff
Ok great… thank you!   Follow-up question regarding registry keys….   I just got given a reg file to incorporate into my Wix file.. it has about 50 reg keys I need to set…. Is there a best practices method for adding a ton of registry key entries through a Wix?   I was thinking of usi

Re: [WiX-users] Best way to generate GUIDS ?

2006-10-16 Thread Simon Dahlbacka
And if you happen to be using an Express edition without Macro capabilities, you can make a (very) simple console application that creates a new guid and (optionally pre-populates your clipboard)If you need further directions, I can post the few lines of code required /SimonOn 10/16/06, david adams

Re: [WiX-users] Best way to generate GUIDS ?

2006-10-16 Thread Mike Dimmick
uuidgen ships with Visual Studio. You can generate multiple GUIDs using the -n parameter (e.g. if you need 10 GUIDs, use uuidgen -n10). Use the "Visual Studio xxx Command Prompt" shortcut in the Visual Studio xxx Tools program group.   -- Mike Dimmick From: [EMAIL PROTECTED] [mailto:[EMAI

Re: [WiX-users] Best way to generate GUIDS ?

2006-10-16 Thread david adams
Jeff: I use WiX 2 with Visual Studio 2003 & 2005. In my IDE, I use a Macro that gets invoked by a defined keystoke-combo shortcut. I got the instructions from the WiX Tutorial. David Adams MSN MessengerID: [EMAIL PROTECTED] '--Imports EnvDTE '--Imports System.Diagnostics '--Public Module Ge

[WiX-users] Best way to generate GUIDS ?

2006-10-16 Thread Jeff MacDuff
This is probably a dumb question, but what’s the best way to generate GUIDS for component IDS for a wix file?   I have an existing file I need to go add a bunch of features too.. what’s the proper way to generate all those new GUID’s I need?   Thanks, Jeff ---

[WiX-users] Creating a user description

2006-10-16 Thread Tina Basinger
I am trying to create a new user during my isntallation.  For this, I am using the element.  However, I don't see an attribute to define the user's description.  Is there any way to create a description for the user when the user is created? Thanks!-Tina -- __

Re: [WiX-users] unexpected external ui message

2006-10-16 Thread Mike Dimmick
The 'external UI' part of the error message is a red herring. It simply refers to how the messages are communicated from the validation actions, which run from the Windows Installer API in the same way that an actual installation or maintenance action takes place. Light runs validation by merging

[WiX-users] unexpected external ui message

2006-10-16 Thread Lars Helmer
hello, im trying to use wix 3 to generate msi-packages dynamically. my first attempt was to use heat something like heat.exe dir /path/to/folder -out mywix.wxs -template:product -gg and then i replaced all the placeholders (this was more of a first test). candle.exe ran fine after some initial t

[WiX-users] Claus Bernth træffes ikke.

2006-10-16 Thread Claus Bernth
Jeg er ikke på kontoret fra 16-10-2006 og vender ikke tilbage før 23-10-2006. Jeg besvarer din besked, når jeg vender tilbage. -- This e-mail and any attachment may be confidential and may also be privileged. If you are

Re: [WiX-users] LicenseAcceptedCheckBox

2006-10-16 Thread Peter Bočej
Rob: Thanks, it`s wors. Peter Bocej Emtest a.s. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rob Hamflett Sent: Monday, October 16, 2006 10:10 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] LicenseAcceptedCheckBox Try removing the defin

Re: [WiX-users] Uninstall Custom action

2006-10-16 Thread Rob Hamflett
A condition of REMOVE="ALL" should be fine for uninstall CAs. Rob Dane Anderson wrote: > I have an install package that I am attempting to put together. In the > process of installing > > I have it run an executable, CabInstaller.exe, that installs the dll > contained in the .cab > > and sets

Re: [WiX-users] LicenseAcceptedCheckBox

2006-10-16 Thread Rob Hamflett
Try removing the definition for the LicenseAccepted property. That should cause the check box to be blank by default, and the property will be created when you click on it. Rob Peter Bočej wrote: > Hi all, > > I`m a beginner. > I`ve got a base installer with a base UI (license dialog + progre

[WiX-users] PathEdit control & error 2343

2006-10-16 Thread Peter Bočej
Hi all, I`m a beginner. I`ve got a base installer with a base UI (change path dialog + progress dialog, see attachment). There is a simple change path dialog with PathEdit control: ... ... In this case the installer throws error no. 2343 (Specified path is empty.). The "INSTALLDIR" property i

[WiX-users] LicenseAcceptedCheckBox

2006-10-16 Thread Peter Bočej
Hi all, I`m a beginner. I`ve got a base installer with a base UI (license dialog + progress dialog, see attachment). There is a simple Licence dialog with checkt box to accept the license. I want to set the checkbox state unchecked initialy but I don`t know how to do this. Could somebody help me p