Re: [WiX-users] Copy folder structure

2009-08-26 Thread Blair
Any particular reason you want one component per folder? That is generally harder to service. What kinds of files are in these folders (executable, versioned, text, image)? -Original Message- From: Jaspreet Nabha [mailto:jaspreet.na...@headstrong.com] Sent: Wednesday, August 26, 2009 11:

Re: [WiX-users] How to add a dialog box when uninstall

2009-08-26 Thread Blair
Re: uninstall UX. Yes, you can create an uninstallation shortcut, but that is incompatible with the Vista Logo program. Also it is impossible to ensure that all means of removing the product will show any UI at all, much less your authored dialogs, but you can use the ARPNOREMOVE trick I mention t

Re: [WiX-users] Major Upgrade: How to do major upgrade for the currect product and a previous product?

2009-08-26 Thread Blair
If your product replaces 1000 competitors' products, you have the ability to remove all of them when installing yours automatically. It is done basically the way you have already done it for your two version ranges using different UpgradeCodes. The problem occurs when the user reinstalls one of tho

Re: [WiX-users] Copy folder structure

2009-08-26 Thread Jaspreet Nabha
Thanks Sebastiaan..Its working now :) There is a query related to autogenerated wix file. I want one component for every sub directory. consider the following example : Root - Folder 1 -Sub Folder -- f

Re: [WiX-users] BMP and JPEG

2009-08-26 Thread Sascha Beaumont
You've probably got a 24-bit uncompressed bitmap. I use 8-bit compressed bitmaps for all my installers, generally around 1/10th the size with negligible difference in quality. It's limitation of Windows Installer, not a limitation of WiX. See http://msdn.microsoft.com/en-us/library/aa367830(VS.85)

[WiX-users] WiX .5.0821.0 == Awesome!

2009-08-26 Thread John H. Bergman (XPedient Technologies)
I am finally able to build my installers with VS2010! There are still a few workaround I have had to employ, but this is a much better release for us than the last couple!! One such workaround is that the ProjectDir appears to be mapped to the TargetDir now, is this intentional, or is this a bu

Re: [WiX-users] Major Upgrade: How to do major upgrade for the currect product and a previous product?

2009-08-26 Thread little.forest
Thanks Blair. You said "You can put as many UpgradeCodes in the Upgrade table as you need." - does it mean it's possible to upgrade multiple products whose upgrade ID are different? Is there any code example showing how to do this? Thanks a lot! From: Blair

Re: [WiX-users] How to add a dialog box when uninstall

2009-08-26 Thread little.forest
Hi Blair, Thanks for your reply. Lots of important info here. For ARP, I know what you mean. So how about uninstall from a shortcut(which is created when installing) in the [Start]->[All Programs]? Is it also impossible to add that dialog box? If not, I'll try to explain to our team. Also you s

Re: [WiX-users] Add to Existing ProgramsMenu Folder

2009-08-26 Thread Blair
IIRC any component can put a RemoveFolder to any folder and have it found by the ICE. Are you sure your Component was linked in? -Original Message- From: Richard Hallett [mailto:richard.hall...@eduserv.org.uk] Sent: Wednesday, August 26, 2009 1:53 PM To: General discussion for Windows Ins

Re: [WiX-users] Major Upgrade: How to do major upgrade for the currect product and a previous product?

2009-08-26 Thread Blair
You can put as many UpgradeCodes in the Upgrade table as you need. You can also take a gun and shoot yourself in the foot. -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Wednesday, August 26, 2009 10:15 AM To: General discussion for Windows Installer XML too

Re: [WiX-users] How to add a dialog box when uninstall

2009-08-26 Thread Blair
The shell (ARP/Programs and Features) always calls MSI in a mode that allows a progress bar but disallows any and all modal dialogs when the "Uninstall" is selected. You can suppress the "Remove" button (ARPNOREMOVE property) which will create a "Change/Remove" button in its place where you can sho

Re: [WiX-users] How to add a dialog box when uninstall

2009-08-26 Thread little.forest
Help please! I need to finish this task by tomorrow. If I can't make it, I might be fired. My job as a Wix developer may be ended. Please help: I just need to add a dialog box when install to ask if the end user wants to remove the settings data in user's AppData folder. If yes, I then will use

Re: [WiX-users] Add to Existing ProgramsMenu Folder

2009-08-26 Thread Richard Hallett
The problem is though you can only specify a RemoveFolder for the other directory within a component. I create shortcuts within a component underneath a to "SpamEggsProgramsFolder" I can't put a within that component because it will still complain about not being in the RemoveFile table. I t

Re: [WiX-users] Major Upgrade: How to do major upgrade for the currect product and a previous product?

2009-08-26 Thread little.forest
Hello WiX experts, I'd put this question another way: when doing major upgrade, we MUST put ONE upgrade ID in the upgrade section, is this correct or not? It is impossible to put more than one upgrade ID in upgrade table, correct or not? Thanks in advance. Your response is very appreciated.

Re: [WiX-users] How to add a dialog box when uninstall

2009-08-26 Thread little.forest
Thanks Sebastian. Is there any source code example that shows how to do it? Also, how can we make sure this dialog box only pops up when the end user doing manual uninstallation? When the end user doing major upgrade to a newer version, this dialog box shouldn't popup because the end user will

Re: [WiX-users] Add to Existing ProgramsMenu Folder

2009-08-26 Thread Alexander Shevchuk (Volt)
will delete only empty folders. If your shortcut is not the last in the FooBarProgramsFolder, it won't be deleted on your product uninstall. Alex -Original Message- From: Richard Hallett [mailto:richard.hall...@eduserv.org.uk] Sent: Wednesday, August 26, 2009 9:03 AM To: 'wix-users@

[WiX-users] Add to Existing ProgramsMenu Folder

2009-08-26 Thread Richard Hallett
Hi, I need to add a Start Menu shortcut to an existing folder within the ProgramsMenu instead of creating a new Folder within the ProgramsMenu. For example say there is a folder called "FooBar" already existing within The ProgramsMenu and I want to create a sub folder SpamEggs within it. My ass

Re: [WiX-users] Cancel from Embedded UI within the ProcessMessage() method doesn't always work

2009-08-26 Thread Blair
We observed that ourselves. Basically if Windows Installer thinks that it has gone "too far" and it isn't reasonable/possible to cancel it ignores that request. Internally it is a multi-threaded/multi-process system and it is possible that the signal internally doesn't route fast enough, but I don'

Re: [WiX-users] How to stop running an MSI directly instead

2009-08-26 Thread Blair
This week has been a crazy week for me. Sorry. I must have suffered a "brain fart". Installed OR MYINSTALLKEY Drop the NOT. Here is the rational: On initial installation, you want to require MYINSTALLKEY (as a proxy for detecting the bootstrapper). On maintenance transactions, including REMOVE,

Re: [WiX-users] Wix Source Query

2009-08-26 Thread Blair
In the case of WiX v3's NetFx extension, the source is basically here (from the base directory of the sources): src\ext\NetFxExtension In that folder, the C++ CA DLL is built in the "ca" folder, the WiX library used by light is built in the "wixlib" folder, and the extension DLL that embeds the o

[WiX-users] util:xmlfile writing the entire xml to a single line

2009-08-26 Thread Ben Hegarty
Hi, Does anyone know why if we have a whole hunk of xml to write and we do so using the util:xmlfile it all gets output into the xml file as a single line? Regards Ben -- Let Crystal Reports handle the reporting - Free Crys

Re: [WiX-users] Dynamic Property Values vs. Multiple Components

2009-08-26 Thread Blair
statements provide for the creation of multiple sets of elements within the wix file itself. It is constructs that suggest (but don't necessarily require) multiple MSIs. What I suggested is a way to manage the creation of sets of multiple components and properties that differ in a consistent fas

Re: [WiX-users] Dynamic Property Values vs. Multiple Components

2009-08-26 Thread Maillet, Ed
Doesn't the using the preprocessor statements essential force the creation of multiple MSIs? One per environment? For what I need, I must have a single MSI that works in all environments. I did get the Multiple Component approach to work but it seems like a weird way to do it. - Ed

[WiX-users] Cancel from Embedded UI within the ProcessMessage() method doesn't always work

2009-08-26 Thread CristianG
Hi, I'm using the Embedded UI feature (thanks DTF) from Windows Installer 4.5 and noticed that the installation is not always canceled when returning MessageResult.Cancel from the: public MessageResult ProcessMessage(InstallMessage messageType, Record messageRecord, MessageBoxButtons buttons, Mes

Re: [WiX-users] How to stop running an MSI directly instead

2009-08-26 Thread Prabhakaran Paulraj
I made the conditional message as below NOT Installed OR MYINSTALLKEY I run the Install.msi using the following command msiexec /i Install.msi MYINSTALLKEY=1 Observered Result: 1. I dont get a conditional message when i directly try to run the Install.msi instead the installation is success

Re: [WiX-users] Size of the RAM in WIX

2009-08-26 Thread Sebastian Brand (Instyler Software)
PhysicalMemory returns the size of RAM in MB. This should work. Where are you using this property? Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: Sunkesula, Srivardhan [mailto:srivardhan.su

Re: [WiX-users] Locate a file within a manged custom action in win2k8 x64

2009-08-26 Thread tgoffice
Manipulation of files within my target installation path are working, but they don't work in windows directory. I have played with impersonating without success. tgoffice wrote: > > Thanks for your answer, I have also made a simple test to read a file from > c:\temp folder

Re: [WiX-users] Copy folder structure

2009-08-26 Thread Sebastiaan Deckers
I'm new to WiX but this is how I solved the problem of packaging hundreds of files in a directory: http://github.com/pandion/pandion/tree/master/Installer/WiX Heat will generate a huge WXS file that is then compiled and linked together with the rest of the setup as an argument to candle and light.

[WiX-users] Wix Source Query

2009-08-26 Thread Sean Farrow
Hi: I was browsing the wix source, as I'm trying to write an extension to integrate with another development environment. I was particularly interested in the .net extension as it seems to use a custom action dll. What I carn't seem to find though looking at the projects is where this ca dll is

[WiX-users] Size of the RAM in WIX

2009-08-26 Thread Sunkesula, Srivardhan
Hi, Can anyone help in finding out the size of the RAM in wix? I was trying to use "PhysicalMemory" attribute in wix. But didn't work out. If anyone can help in usage of this attribute, it would be great. Thanks &Regards, Srivardhan. -

Re: [WiX-users] Copy folder structure

2009-08-26 Thread Jaspreet Nabha
Thanks Brand, It it generationg the WXS w/ any error, But every components is enclosed with fragmment tag. It would be great if you can give some sample which simply put the folder structure on user machine. For your reference I am using the below said WXS file, which put a file to user machine

Re: [WiX-users] Major Upgrade: How to do major upgrade for the currect product and a previous product?

2009-08-26 Thread little.forest
Thanks for your reply, Blair. I see what you mean - keep the upgrade code unchanged for one product. But I have a feeling that we can upgrade other products - as long as we add the upgrade codes in the upgrade table. That means we could have a few different upgrade entries in the upgrade table.

Re: [WiX-users] How to add a dialog box when uninstall

2009-08-26 Thread Sebastian Brand (Instyler Software)
Hello, Windows Installer executes uninstall in Silent mode (no UI) mode only. To show a dialog, you'll have to create a custom action to show a dialog, then schedule that during uninstall. Best regards, Sebastian Brand Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www

[WiX-users] How to add a dialog box when uninstall

2009-08-26 Thread little.forest
Hi, We're using WiX 3.0. How to add a dialog box when uninstall? We'd like to ask the end user if they want to delete their settings files in AppData\Company\Product folder. If the answer is Yes, then we'll need to delete that folder. And we only want this dialog box showing up when manually