Re: [WiX-users] files and components

2011-12-21 Thread Michael Scheepers
Well, it might seem like, but we are talking about 3 or 4 features the user can select. The core feature is planned to include 3 components. These 3 components make up ~4.000 files. If one component has to be updated all files of this component have to be changed. Regards Michel Am 21.12.201

Re: [WiX-users] WiX 3.6 major upgrade backup and restore

2011-12-21 Thread Blair
Are Uninstall, Restore and Install all deferred actions? Or are any of them (such as Restore) immediate? Remember that immediate actions affect the state written into the script, deferred actions are added to the script at the time they are "run", until the corresponding script itself is processed

Re: [WiX-users] WiX 3.6 major upgrade backup and restore

2011-12-21 Thread John Cooper
Actually, that order would be right for a major upgrade. The old product gets removed first, then an install occurs. Removal occurs in the standard action RemoveExistingProducts. You'll want to schedule your "backup" actions before this action, and your "restore" after it. And you probably o

Re: [WiX-users] WiX 3.6 major upgrade backup and restore

2011-12-21 Thread David P. Romig, Sr.
John, Thanks for the reply. I've tinkered with the "Schedule" attribute in the MajorUpgrade element but that doesn't seem to address the problem. With my application, users can create folders and configuration data under the CommonAppData folder. These files and folders are unknown to the install

Re: [WiX-users] DIFxAPP and Properties question

2011-12-21 Thread James Johnston
If I remember correctly, the justification for adding dedicated driver entries to ARP is so that if the driver causes the computer to fail to boot into normal mode, you can still uninstall the driver in safe mode. You can't use Windows Installer in safe mode, so the only mechanism would be the ded

Re: [WiX-users] files and components

2011-12-21 Thread Castro, Edwin G. (Hillsboro)
Remember that a user never selects components directly. They select features. My guess is that you want 7 or 8 features that will select the components required on a per-feature basis. Edwin G. Castro Software Developer - Staff Digital Channels Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.f

Re: [WiX-users] Multi-Instance No UI Install/Uninstall Problem

2011-12-21 Thread Christopher Painter
Very interesting, I've never thought to try to do it that way. FWIW, you can also use /qb instead of /qn. In a QB scenario the UI sequence is processed but authored UI ( dialogs ) are skipped. This is one way to get those CA's to fire and while it isn't a "silent" install it is a "non-inte

Re: [WiX-users] files and components

2011-12-21 Thread Christopher Painter
Please, make sure you do. A Component can have only one KeyFile. Putting the KeyPath attribute on the component means that the directory of the component is the key path. Putting it on a file means the file is the key path. If you try to put it on multiple files inside of a component you'

Re: [WiX-users] Multi-Instance No UI Install/Uninstall Problem

2011-12-21 Thread Lance Arlaus - Consultant
Thanks Christopher. Your comments sent me in right direction. The root cause came down to the fact that, as you mentioned, the TRANSFORMS and MSINEWINSTANCE properties must be supplied on the command line (or via a bootstrapper as you've done) since those properties get processed prior to the s

Re: [WiX-users] Removing through the UI mode doesnot prompt forprivileges

2011-12-21 Thread David Watson
Sorry I am not a UI expert as we use a chainer for our UI. I think your Maintenance UI needs to be setting the REMOVE to all somehow. Try looking in the wix standard or mondo UI to see how that does it. If your CA needs to be dependent on the MSI being uninstalled it needs to be scheduled appropr

Re: [WiX-users] Removing through the UI mode does not prompt forprivileges

2011-12-21 Thread Stelios Kyprou
By the way my CA is scheduled AFTER InstallInitialize -Original Message- From: Stelios Kyprou [mailto:stelios.kyp...@fcg.im] Sent: 21 December 2011 15:42 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Removing through the UI mode does not prompt forpriv

Re: [WiX-users] Removing through the UI mode does not prompt forprivileges

2011-12-21 Thread Stelios Kyprou
You are right David, REMOVE was set to the features that were installed. So I changed the condition so that the CA runs. One problem down. Now after completion, I can still see the product in "Products and Features", and the files are not removed from the install location. What do I need to do so

Re: [WiX-users] files and components

2011-12-21 Thread Christopher Painter
At my last job our typical installer had 15,000 files in it. About 12,000 of those files were graphics / content for one our features. I've seen the performance for 1:1 vs 1:Many component to file relationships and when it was 1:1 you might as well take the installer out back, put a gun to it

Re: [WiX-users] files and components

2011-12-21 Thread Michael Scheepers
Well, I guess I understand the implications. That brings up my next question. Is it possible to define a component like and have all subfolders and files added to the msi package? Or do I have to specify each file like

Re: [WiX-users] files and components

2011-12-21 Thread Adams, David
Michael: I would advise against it. Uniquely to Windows Installers, many of us have made this mistake of including multiple files within components "because they are dependent" only to suffer the consequences later in update situations or what-not. Overall in software development, it also put

Re: [WiX-users] files and components

2011-12-21 Thread Christopher Painter
Depends on what kind of files they are and how you plan on servicing them (patching, upgrades ) Typically these are content type files such as web content or help content. But, yes, there are situations where this is acceptable provided that you understand the implications.

Re: [WiX-users] Removing through the UI mode does not prompt forprivileges

2011-12-21 Thread David Watson
When is your custom action scheduled? When you uninstall through the MSI your MSI is in maintenance mode. This probably means that REMOVE is not set to ALL by default in case you choose some other behaviour. Check a log to see when REMOVE is being set and what to. -Original Message- Fro

[WiX-users] files and components

2011-12-21 Thread Michael Scheepers
Hi there, I am very new to WiX and I ask me if it is possible (recommended) to define multiple files in one component? Unfortunately I have to create a msi for about 4.500 files and in my opinion that might be 7 or 8 components to install. So is it ok to combine a thousand files in one compone

Re: [WiX-users] Can't find source code for WixUI_InstallDir.wxs

2011-12-21 Thread Alan Goode
Which download did you get? I've looked at the WiX35-binaries.zip, but it contains no source code. If I download from the Source Code tab, I only get a 4.53KB file, which contains the 3 files I listed in my original post. I've even looked in the Cab file inside of Wix35.msi, but I don't see a Wix35

Re: [WiX-users] Removing through the UI mode does not prompt for privileges

2011-12-21 Thread Dan Gough
I'm new to WiX so don't know how to do it, but I think you need the elevation shield attribute 0x0080 set in the Control table on the button used to uninstall the application. Try editing the msi package using InstEd to see if it fixes the problem, then you can figure out how to achieve it in

Re: [WiX-users] Multiple Instance Transforms Walkthrough, Proposed Simple Addition to WiX to Make Them Easier

2011-12-21 Thread properto
If you need to generate multiple components (each for a different instance) with a specific GUID, you don't need to have an additional feature request. You can use pre-processor extension. I put it together: define specific GUIDS for each instance define instance list define components

Re: [WiX-users] Removing through the UI mode does not prompt for privileges

2011-12-21 Thread Stelios Kyprou
I don't think that is the problem...I need to provide same functionality when uninstalling from Programs and Features for when I uninstall through the MSI. I found in the logs the following: MSI (s) (C0:08) [11:23:34:638]: Skipping action: UninstallWsp2010PowerShell (condition is false) The cond

Re: [WiX-users] UK Localization

2011-12-21 Thread David Watson
Also forgot to say that you may need to get a specific license agreement for the target territory, a standard US one may not be legal under UK/EU laws. If the application/installation collects any kind of metrics the customer may need to be aware of the differences in the data protection laws. Da

Re: [WiX-users] UK Localization

2011-12-21 Thread Matt O'Connell
> I cant remember ever seeing a > specific UK version of any software that I've installed Install anySerif App (you get a choice). -- Write once. Port to many. Get the SDK and tools to simplify cr

Re: [WiX-users] UK Localization

2011-12-21 Thread Peter Shirtcliffe
The codepage for UK systems is 1252, like most (all?) of Western Europe. The locale for the UK is 2057, not 1033. The date format here is dd/mm/ rather than mm/dd/. The timezone is GMT/British Summer Time. The language code for UK English is en-gb. Most of what the other 2 posters have s

Re: [WiX-users] Removing through the UI mode does not prompt for privileges

2011-12-21 Thread Karthick R
Hi Stelios, Check the InstallScope attribute for the package inside the product having the value as "perMachine" or "perUser" For a per-machine installation, the default installation location will be [ProgramFilesFolder][ApplicationFolderName] and the user will be able to change it in the setu

[WiX-users] Removing through the UI mode does not prompt for privileges

2011-12-21 Thread Stelios Kyprou
Any ideas anyone? -Original Message- From: Stelios Kyprou [mailto:stelios.kyp...@fcg.im] Sent: 15 December 2011 10:55 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Removing through the UI mode does not prompt for privileges Hello all, I have an installer b