Re: [WiX-users] Example Help Needed -review

2009-11-19 Thread Blair
Using RegAsm is a huge part of the reason your batch file was so unreliable. It is called Self-Registration. You should very seriously consider not doing that. You should instead be very explicit as to exactly what settings you need to register your components and author that into your MSI. You ca

Re: [WiX-users] How to use MsiGetProductInfo function?

2009-11-19 Thread Jiang, Chunyan (GE Healthcare)
Hi Peter, Sorry, I didn't post all the code here. Actually, my code is: TCHAR szProductName[100] = {0}; DWORD length(0); uiStatus = MsiGetProductInfoW(szProductCode,L"InstalledProductName",L"",&length); if(uiStatus == ERROR_MORE_DATA) { // TCHAR name[length+1]; uiStatus = M

Re: [WiX-users] Require version for upgrade

2009-11-19 Thread Blair
You have two launch conditions: your downgrade attempt (seems correctly written) and your upgrade detection/requirement (which is written using weird logic that seems to be the root of your frustration). Change your second condition to look like this: OLDERVERSIONBEINGUPGRADED OR

Re: [WiX-users] Feature selection and CustomAction commandline

2009-11-19 Thread Sebastian Brand (Instyler Software)
Well yes, does it work? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Blog: www.sebastianbrand.com > -Original Message- > From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com] > Sent: Thursday, November 19, 2009 21:23 > To: General discu

[WiX-users] So much space requires on C drive

2009-11-19 Thread Rahul.Ekbote
Hi All, When we installs our product, though we choose other drive like d: or e: still it checks the space of c: drive. It asks minumn 700MB empty space on c: drive. I tried to change the temp location to d:\ but no use and I think we not force user to change his temp folder location. Please

Re: [WiX-users] Supplemental shell extensions installation

2009-11-19 Thread Chad Petersen
Aren't shell extensions either a DLL or OCX file as the entry point? Think about what you have to do to manually deploy your shell extensions and write down the steps (if it helps). These are the steps that you would then author in WiX to automate the process through an MSI. A simple outline with t

Re: [WiX-users] Supplemental shell extensions installation

2009-11-19 Thread Jan Wester
On Thu, Nov 19, 2009 at 9:25 PM, Michael Clark wrote: > a) Objectively, is WiX the right option, or should I look at other > installers for this purpose? [Michael] It's a great tool for this > purpose and its free! > > b) Are there any samples of scripts that install shell extensions? I > have loo

Re: [WiX-users] Supplemental shell extensions installation

2009-11-19 Thread Michael Clark
a) Objectively, is WiX the right option, or should I look at other installers for this purpose? [Michael] It's a great tool for this purpose and its free! b) Are there any samples of scripts that install shell extensions? I have looked around, but found nothing. Reinventing the wheel is something

Re: [WiX-users] Feature selection and CustomAction commandline

2009-11-19 Thread Arun Perregatturv
I tried as you said INSTALLTYPE="CompleteServer" INSTALLTYPE="CompleteDatabaseServer" INSTALLTYPE="CompleteWorkstation" And CustomAction This is right? Arun Perregattur -Original Message- From: Sebastian Brand (Ins

[WiX-users] Supplemental shell extensions installation

2009-11-19 Thread Happy Hondje
Hello WiXers, I am new to Windows Installer and WiX, and thus have been pouring over documentation. tutorials, samples and google the last few days. I see a lot of basic information which is nice, but sadly, my needs aren't all that typical. (This might become a rather long posting, so I will apol

Re: [WiX-users] How to force to launch application in silent install mode?

2009-11-19 Thread little.forest
Thanks Sascha. Rebooting doesn't fit our requirement. I've made a workaround in our bootstrapper to launch the app after silent installation. It's not nice as our MSI users won't have this functionality. But this seems the best we could do so far. From: Sasc

Re: [WiX-users] 2902 error installing with VS 2008 SP1 CRT merge modules on Vista/Win7

2009-11-19 Thread Andreas Mertens
OFF-TOPIC - this has to do with compilers and manifests, but does refer to this problem. I have experienced a similar issue with a client's product I was working on. With VS 2008 SP1, a new revision of the C runtime/ATL/etc. DLLs are used. Apps compiled with this will have this registered in thei

Re: [WiX-users] Errors using performance counters after installing with PerformanceCounter/PerformanceCounterCategory

2009-11-19 Thread Rich Daniel
I'll give you the wix, the installer code, and the usage all side by side: .wxs fragment: .cs fragment (installer): PerformanceCounterInstaller category = new PerformanceCounterInstaller(); category.CategoryName = "My Application"; category

Re: [WiX-users] 2902 error installing with VS 2008 SP1 CRT merge modules on Vista/Win7

2009-11-19 Thread William Bardwell
> William, > > We have seen serious problems with this merge module. I think there's an unav > oidable problem with per-user installations if you use it. In at least one of > our setups, we use an executable file to install the VS 2008 support, instea > d of the merge module. We do not use per-u

[WiX-users] Install files side-by-side with a patch

2009-11-19 Thread Yan Sklyarenko
Hello WiX community, This question is primarily addressed to the "patching gurus". :) I have the following requirement. During the patch installation I should detect if the files to be patched were modified by the user, and if yes, install the new versions of those files side-by-side, disregardin

Re: [WiX-users] How to use MsiGetProductInfo function?

2009-11-19 Thread Peter Shirtcliffe
You are passing 0 as the size of the buffer in the "length" argument which is too small. Try DWORD length = sizeof(szProductName)/sizeof(TCHAR); -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailto:chunyan.ji...@ge.com] Sent: 19 November 2009 16:12 To: General discussion for

Re: [WiX-users] How do I configure ALL WIX temp files' locations?

2009-11-19 Thread Rob Mensching
Hmm, bummer. Thanks for finding and reporting this issue. 2009/11/18 Matti Hägerlund > Hi Rob and thanks for the tip. > > I tried the -cc switch but light still writes the temp-file in > C:\Documents and Settings\\Local Settings\Temp :-( > > I'll file a bug report. > > /M4tti > > 2009/11/18 Rob

[WiX-users] WiX Script repository status...

2009-11-19 Thread Dominique Louis
Just wondering if there is any sort of update on the WiX Script repository that a few people talked about a few months ago. How can we submit scripts. I've got some scripts which I've built up over the last few months, which I think others could find useful. DOMINIQUE LOUIS | IS DEVELOPER, AMX

[WiX-users] How to use MsiGetProductInfo function?

2009-11-19 Thread Jiang, Chunyan (GE Healthcare)
Hi, I tried to retrieve some information about installed Product, as bellow: TCHAR szProductName[100] = {0}; DWORD length(0); MsiGetProductInfoW(szProductCode,L"InstalledProductName",szProductName,& length); However, it always return ERROR_MORE_DATA. It sounds like that TCHAR szProductName[1

Re: [WiX-users] Feature selection and CustomAction commandline

2009-11-19 Thread Sebastian Brand (Instyler Software)
The INSTALLTYPE property will contain the values "CompleteServer", "CompleteDatabaseServer" or "CompleteWorkstation" after the selection was made. You can either change these values to 1,2,3 or create three SetProperty control events, one for each install type: INSTALLTYPE="CompleteServer" Put

Re: [WiX-users] How can I pass values between dialog boxes

2009-11-19 Thread Sebastian Brand (Instyler Software)
In MSI the value of a combobox is stored in a property. You can then access that property anywhere by using brakets, i.e. use [PropertyName] To show a dialog depending on the property value, use the Property as a condition for elements. Best regards, Sebastian Brand Deployment consultant E-Ma

[WiX-users] How can I pass values between dialog boxes

2009-11-19 Thread Uday Kumar
Hi, In wix-msi how can I pass the values between two dialog boxes. I will select one item from combo box of first screen/dialog, based on the selection, second screen combo box should populate. How can i pass the values of screen one to second screen. Thanks, Uday.

Re: [WiX-users] Feature selection and CustomAction commandline

2009-11-19 Thread Arun Perregatturv

Re: [WiX-users] Notes on building patches

2009-11-19 Thread Bob Arnson
Schmitz, John wrote: > For various reasons, our product setups are built using a number of merge > modules that package our own build products. This, along with my not thinking > about the consequences, resulted in my previous attempts violating at least 3 > of the rules that MS documents govern

Re: [WiX-users] GetMsiProperty with UAC enabled!

2009-11-19 Thread Bob Arnson
Sachin Dubey wrote: > During investigation I found, the Wix is calling C++ custom actions those > using method GetMsiProperty to retrieve the properties from MSI. > There's no such MSI API function. Check your wrapper code to see exactly which error is being returned. -- sig://boB http://jo

Re: [WiX-users] ToolsVersion attribute

2009-11-19 Thread Bob Arnson
John H. Bergman (XPedient Technologies) wrote: > Hmm, ok. Only the bootstrapers do then I suppose. > > Are there plans to update Votive to include the attribute based on whether a > boot strapper is going to be used? > No, there are no such plans. Feel free to file a feature request, thoug

Re: [WiX-users] Compiling Wix in CommandLine with CustomAction Code

2009-11-19 Thread Sebastian Brand (Instyler Software)
Can you post the .wxs with the ConfigureIIS customaction tags? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com On 19.11.2009, at 08:36, Kusuma Sudheer Kumar (Tata Consult

Re: [WiX-users] How to retrieve ProductCode outside MSI

2009-11-19 Thread Sebastian Brand (Instyler Software)
Untested but'll you get the idea: Set installer = Wscript.CreateObject("WindowsInstaller.Installer") Set database = installer.OpenDatabase("c:\path\toyour\msifile.msi", 0) query = "SELECT 'Value' FROM Property WHERE Property='ProductCode'" Set view = database.OpenView(query) view.Execute Set rec

Re: [WiX-users] How to debug upgrade problem

2009-11-19 Thread Tom Crozier
For anyone interested what I was able to do was create a custom action to set the ALLUSERS property to 1 and schedule it after FindRelatedProducts. Doing this allowed the old version to be located as a per user install then switch the new install to be per machine. -Original Message- Fr

Re: [WiX-users] How to retrieve ProductCode outside MSI

2009-11-19 Thread Jiang, Chunyan (GE Healthcare)
Hi Rob, Thanks for your reply. I got some information for other person that I can use MsiOpenDatabase/MsiViewExecute But I have no idea how to use it. Could you please give me some example? Regards, Chunyan -Ursprüngliche Nachricht- Von: Rob Mensching [mailto:r...@robmensching.com]

Re: [WiX-users] Feature selection and CustomAction commandline

2009-11-19 Thread Sebastian Brand (Instyler Software)
If you have a radio button group, we don't use the property you have associated with the radiobutton group in the commandline. How are you setting the InstallLevel using the radio buttons? Best regards, Sebastian Brand Deployment consultant E-Mail: sebast...@instyler.com Instyler Setup - Crea