Re: [WiX-users] Problem with update ComboBox control

2008-10-24 Thread Grigory Konovalov
Thank for your answer. I try do this, but my code don't work. Control Id=databaseNameComboBox Type=ComboBox X=130 Y=80 Width=160 Height=16 Property=SQLDATABASE_UE RightToLeft=yes ComboList=yes Publish Event=DoAction Value=FillDatabaseCustomAction Order=11/Publish !--Publish

[WiX-users] uninstall per user product

2008-10-24 Thread hyung
Hi all, I have changed the product install type from per-user to per-machine and want to uninstall prior per-user installs. According to the archived emails it seems I need to write an uninstall utilitiy to remove all products installed by users. My question is How can I find all users who

Re: [WiX-users] uninstall per user product

2008-10-24 Thread Rob Mensching
I believe you'd have to log in as each user and execute the installer as that user. -Original Message- From: hyung [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2008 23:47 To: wix-users@lists.sourceforge.net Subject: [WiX-users] uninstall per user product Hi all, I have

[WiX-users] Problem disabling Repair

2008-10-24 Thread Andy2k8
I get the repair option when right clicked the msi file even though i set ARPNOREPAIR property to 1.. How do i get rid of repair from the right click menu? - Andy MSI Developer Schneider Electric:working: -- View this message in context:

Re: [WiX-users] Problem disabling Repair

2008-10-24 Thread Rob Hamflett
ARPNOREPAIR relates to the entry in Add/Remove Programs. The right-click entry will be based on Explorer's associations with the .msi extension. Even if you removed it from your machine, it would still be there on other people's. Rob Andy2k8 wrote: I get the repair option when right

Re: [WiX-users] Skip dialog during uninstall

2008-10-24 Thread Sergey Abakumoff
Howdy gang, First of all, I have solved the original problem that I described in the first post: In my installer I should show licensing dialog at the end of installation. If the product is removed, the licensing dialog should not be shown though and user exit dialog should be shown instead. I

Re: [WiX-users] Product directory always created even when feature not installed - can this be disabled?

2008-10-24 Thread Sébastien Mouren
2008/10/23 Nic Barden [EMAIL PROTECTED]: Hi Sébastien, I do not want the directories created because, as I said - the other 2 features do NOT add anything to the file system - they are just databases that are installed to SQL. Therefore it seems a bit weird to have the Program Files

Re: [WiX-users] Skip dialog during uninstall

2008-10-24 Thread Sébastien Mouren
2008/10/24 Sergey Abakumoff [EMAIL PROTECTED]: Howdy gang, First of all, I have solved the original problem that I described in the first post: In my installer I should show licensing dialog at the end of installation. If the product is removed, the licensing dialog should not be shown

Re: [WiX-users] Building WiX from CVS

2008-10-24 Thread Rob Mensching
If it messes up the build yes. -Original Message- From: Neil Sleightholm [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2008 22:33 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Building WiX from CVS Should I raise that as a bug? -Original

Re: [WiX-users] Problem disabling Repair

2008-10-24 Thread Sébastien Mouren
2008/10/24 Andy2k8 [EMAIL PROTECTED]: I get the repair option when right clicked the msi file even though i set ARPNOREPAIR property to 1.. How do i get rid of repair from the right click menu? Put a LaunchCondition testing the value of the REINSTALL property. Act accordingly. It won't

[WiX-users] BrowseDlg: Error2343 (Specified Path is empty)

2008-10-24 Thread Reuss, Matthias
Hi, I am using the BrowseDlg from WixUI. Instead of displaying this dialog, the Installer gives a Fatal error Error 2343.Specified path is empty. Unfortunately, neither the error message nor the verbose MSI log gives a clue which path might be meant. As far as I see, the only path needed to set

Re: [WiX-users] Problem disabling Repair

2008-10-24 Thread Andy2k8
thank you so much for the responses I have added a type 19 custom action and conditioned it to run upon repair What configuration change should i make to the Operating Sysem to remove repair from the msi right click menu? Sébastien Mouren wrote: 2008/10/24 Andy2k8 [EMAIL PROTECTED]: I get

Re: [WiX-users] Building WiX

2008-10-24 Thread John Hall
You are of course correct but I am such a total convert to SVN that everything in CVS looks so antiquated. I use CVS tags in another project but have never have the enthusiasm to understand the command line, in SVN I do everything via the TortiseSVN interface and I assumed TortiseCVS would be

Re: [WiX-users] Problem disabling Repair

2008-10-24 Thread Sébastien Mouren
2008/10/24 Andy2k8 [EMAIL PROTECTED]: thank you so much for the responses I have added a type 19 custom action and conditioned it to run upon repair Using a CustomAction for this purpose is like taking a bazooka to drill a hole... What configuration change should i make to the Operating

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-24 Thread Sergey Abakumoff
Unfortunately, this doesn't help..Does anyone have any other ideas? TIA Richard-45 wrote: In article [EMAIL PROTECTED], Sergey Abakumoff [EMAIL PROTECTED] writes: Publish Property=_BrowseProperty Value=[INSTALLDIR] / Publish Property=_BrowseProperty

Re: [WiX-users] Problem disabling Repair

2008-10-24 Thread Andy2k8
rotf.. I just have to exit the installer before the user runs the repair sequence. So have sequenced it before InstallValidate/ and the installer exits saying repair is not supported Is that really like taking a bazooka to dril a hole ? :) Sébastien Mouren wrote: 2008/10/24 Andy2k8 [EMAIL

Re: [WiX-users] Problem disabling Repair

2008-10-24 Thread Rob Hamflett
I'm not sure, but I wouldn't recommend doing that. You wouldn't just be removing it for your MSI file, but for every MSI file. Rob Andy2k8 wrote: thank you so much for the responses I have added a type 19 custom action and conditioned it to run upon repair What configuration change

Re: [WiX-users] Problem disabling Repair

2008-10-24 Thread Andy2k8
Hello there I have a strange problem with the type 19 CA that is used to exit the installer if repair is chosen. I run the following CA: CustomAction Id=ExitOnRepair Error=This installer does not support repair./ InstallExecutesequence Custom Action=ExitOnRepair After=LaunchConditionsInstalled

Re: [WiX-users] Problem disabling Repair

2008-10-24 Thread Sébastien Mouren
2008/10/24 Andy2k8 [EMAIL PROTECTED]: rotf.. I just have to exit the installer before the user runs the repair sequence. So have sequenced it before InstallValidate/ and the installer exits saying repair is not supported Is that really like taking a bazooka to dril a hole ? :) Yes, because

[WiX-users] Custom Action with Features association

2008-10-24 Thread Krishnan Senthilraj
All, In our Wix package plan to have multiple features. We do have number of Custom Actions in the Package for different features. When a feature selected how to enable/disable appropriate custom actiions. Please advice. Cheers Senthilraj

Re: [WiX-users] Building WiX

2008-10-24 Thread Neil Sleightholm
Apologies for this being a bit off topic. It sounds like you know a bit about CVS, do you know if it is possible to view what has change since you last did a checkout in CVS or TortoiseCVS? I can see how to do it on a file by file basis but not the whole folder. Neil Neil Sleightholm X2

Re: [WiX-users] Spurious advertised feature

2008-10-24 Thread Philippe Duval
2008/10/23 Sébastien Mouren [EMAIL PROTECTED] You delivered few information. From what I gathered from your pseudo-doings and your pseudo-log, your pseudo-log represent requested action before execution and these diverge from what you expressed in your pseudo doing: Because A isn't touched

[WiX-users] Don't detect running application

2008-10-24 Thread Paul Elsner
Hi, our application has the feature minimize to tray. In this mode there ist no entry in die Taskbar, only in the Traybar. When I make an update in this mode, MSI don't detect the running application and does't show the FileInUseDialog, but it promt to reboot after the installation. Is this an

[WiX-users] Releases Link Broken?

2008-10-24 Thread Jason Horner
Trying to download the from the links on the Wix website: http://wix.sourceforge.net/releases/ An error has been encountered in accessing this page. 1. *Server:* wix.sourceforge.net 2. *URL path:* /releases/ 3. *Error notes:* NONE 4. *Error type:* 403 5. *Request method:* GET 6. *Request query

Re: [WiX-users] Releases Link Broken?

2008-10-24 Thread Simon Dahlbacka
It seems that action is required by the wix devs: *NOTE: As of 2008-10-23 directory index display has been disabled by default. This option may be re-enabled by the project by placing a file with the name .htaccess with this line: Options Indexes * Is there another way to get the

Re: [WiX-users] Problem disabling Repair

2008-10-24 Thread Michael Urman
On Fri, Oct 24, 2008 at 6:20 AM, Sébastien Mouren [EMAIL PROTECTED] wrote: Yes, because instead of your CustomAction you already have a StandardAction called LaunchConditions. It comes earlier in a normal setup and you only have to put your Condition / action element here. Your MSI must be

Re: [WiX-users] Problem disabling Repair

2008-10-24 Thread Sébastien Mouren
2008/10/24 Andy2k8 [EMAIL PROTECTED]: Hello there I have a strange problem with the type 19 CA that is used to exit the installer if repair is chosen. I run the following CA: CustomAction Id=ExitOnRepair Error=This installer does not support repair./ InstallExecutesequence Custom

Re: [WiX-users] Problem disabling Repair

2008-10-24 Thread Andy2k8
Ok I get your point.. I have the following options now 1.Use a condition/ element and condition it based on REINSTALL=ALL 2.Use a Type19 CA in the Install UI sequence and condition that based on REINSTALL=ALL Sébastien Mouren wrote: 2008/10/24 Andy2k8 [EMAIL PROTECTED]: Hello there I

Re: [WiX-users] Problem disabling Repair

2008-10-24 Thread Sébastien Mouren
2008/10/24 Andy2k8 [EMAIL PROTECTED]: Ok I get your point.. I have the following options now 1.Use a condition/ element and condition it based on REINSTALL=ALL 2.Use a Type19 CA in the Install UI sequence and condition that based on REINSTALL=ALL I wasn't speaking about the Install UI

[WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread chaiguy1337
Back when I wrote my installer using Visual Studio's setup project, there was a flag RemovePreviousVersions that would allow future versions of my program to update previous versions simply by removing the previous version and installing the new one overtop of them. My first question is how to

Re: [WiX-users] Releases Link Broken?

2008-10-24 Thread Neil Sleightholm
I am seeing the same problem. Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] From: Jason Horner [mailto:[EMAIL PROTECTED] Sent: Fri 24/10/2008 15:24 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Releases Link

Re: [WiX-users] Debugging MakeSfxCA

2008-10-24 Thread Tina Basinger
no, i don't think so. i'm pretty sure I checked that initially, but I could be wrong. On Fri, Oct 17, 2008 at 7:21 PM, Jason Ginchereau [EMAIL PROTECTED]wrote: The entrypoint names are case-sensitive. Is it possible you had a case mismatch before? -Original Message- From: Tina

Re: [WiX-users] uninstall per user product

2008-10-24 Thread hyung
Thanks for the answer. Any hints on how I can find who installed? I need to provide an uninstall utility which removes prior versions. Thanks, Hyung Rob Mensching-2 wrote: I believe you'd have to log in as each user and execute the installer as that user. -Original Message-

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread Ian Elliott (Excell Data Corporation)
This should get you started: http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-8-major-upgrade.aspx Also, when a major upgrade runs the UPGRADINGPRODUCTCODE property is passed into the version being uninstalled. -Original Message- From: chaiguy1337 [mailto:[EMAIL

Re: [WiX-users] Problem disabling Repair

2008-10-24 Thread Alexander Shevchuk
MSDN topic on REMOVE property (http://msdn.microsoft.com/en-us/library/aa371194(VS.85).aspx) states: ...the REMOVE property may not equal ALL until after the InstallValidate action. On the other hand, instead of saying if not fresh install and not uninstall and not patch and not upgrade just

[WiX-users] Weekly releases

2008-10-24 Thread Alex Ivanoff
An error has been encountered in accessing this page. 1. Server: wix.sourceforge.net 2. URL path: /releases/ 3. Error notes: NONE 4. Error type: 403 5. Request method: GET 6. Request query string: NONE 7. Time: 2008-10-24 17:25:28 UTC (1224869128) Reporting this problem: The problem you

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread chaiguy1337
Excellent. So I should be able to set the condition for my uninstall CA to something like this: Custom Action=UninstallCA Before=RemoveFilesREMOVE = ALL AND NOT UPGRADINGPRODUCTCODE/Custom ...and it will only run when an explicit uninstall (and not a major upgrade) is performed? One more

Re: [WiX-users] uninstall per user product

2008-10-24 Thread Rob Mensching
Sounds very difficult to do correctly. Lots of complicated stuff in there from what I've heard. -Original Message- From: hyung [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2008 09:18 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] uninstall per user product Thanks

Re: [WiX-users] Releases Link Broken?

2008-10-24 Thread Rob Mensching
SourceForge just enacted the .htaccess and we don't have those on the server yet. I'm working on it. -Original Message- From: Jason Horner [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2008 07:24 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Releases Link Broken?

Re: [WiX-users] Releases Link Broken?

2008-10-24 Thread Rob Mensching
Fixed. -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2008 10:37 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Releases Link Broken? SourceForge just enacted the .htaccess and we don't have those on the

Re: [WiX-users] Don't detect running application

2008-10-24 Thread Rob Mensching
CloseApps can help here too. -Original Message- From: Michael Urman [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2008 07:49 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Don't detect running application On Fri, Oct 24, 2008 at 8:53 AM, Paul

Re: [WiX-users] uninstall per user product

2008-10-24 Thread Ian Elliott (Excell Data Corporation)
I've used a custom action to do something similar in the past. A stripped down version of the code is below. I can't guarantee 100% effectiveness but it worked for my needs at the time. UINT __stdcall FunctionName (MSIHANDLE hMsi) { UINT uiStatus = ERROR_SUCCESS; WriteToLog( hMsi,

Re: [WiX-users] Building WiX

2008-10-24 Thread John Hall
It sounds like you know a bit about CVS, do you know if it is possible to view what has change since you last did a checkout in CVS or TortoiseCVS? I can see how to do it on a file by file basis but not the whole folder. Neil, On the commandline, you can do 'cvs -n update', which shows you

Re: [WiX-users] uninstall per user product

2008-10-24 Thread Rob Mensching
Only when admin right? And this won't uninstall right? I think you'd need to load all the user's profiles to uninstall per-user applications. Loading user profiles is tricky from what I've heard. -Original Message- From: Ian Elliott (Excell Data Corporation) [mailto:[EMAIL PROTECTED]

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread Rob Mensching
Can you just use the native MSI functionality to remove the application data? -Original Message- From: chaiguy1337 [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2008 08:52 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Run CA on uninstall, but not when updating

Re: [WiX-users] uninstall per user product

2008-10-24 Thread Ian Elliott (Excell Data Corporation)
It won't uninstall. Just detects then allows you to put a message up and advise the user to uninstall the old per-user app then re-run setup. I think you are correct that user needs to be admin to run this. -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Friday,

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread chaiguy1337
Rob Mensching-2 wrote: Can you just use the native MSI functionality to remove the application data? No, the path is determined at runtime based on the user's AppData directory (and is theoretically customizable, though I haven't added ui to do that) and moreover I want to either: a)

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread Alexander Shevchuk
Remember that UPGRADINGPRODUCTCODE is set by RemoveExistingProducts action. For your condition for UninstallCA to work properly, RemoveExistingProducts must be scheduled before your custom action. REMOVE=ALL means complete uninstall. -Original Message- From: chaiguy1337

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread chaiguy1337
Aha! Thanks for the warning; that would have surely caused headaches as currently my custom action is scheduled before RemoveExistingProducts. Do I need to also schedule FindRelatedProducts in order for RemoveExistingProducts to work? Alexander Shevchuk wrote: Remember that

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread Ian Elliott (Excell Data Corporation)
The condition looks correct. Remember, it has to be in the msi that will get uninstalled by the major upgrade. The REMOVE property actually contains the features and not the components to uninstall. During a major upgrade it will be set to ALL. The same thing is true if being uninstalled via

[WiX-users] Custom action Problem

2008-10-24 Thread Sandeep Gautam (HCL Technologies Ltd)
HI, I have developed one c# file browse dialog box. This Ca is invoking from one WIx Dialog box contains(text box, browse button, next button and Back button).In Text box, I am take property which will get value from file browse dialog CA. On Click event of browse button, I m invoking file

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread Rob Mensching
1. Windows Installer can remove files based off a property. So you can prompt and set a property appropriately to remove the files or not. 2. I don't think files go into the recycle bin. So you may have to have a CustomAction for that. Too bad, since it means you'll have to think through

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread chaiguy1337
Ideally I prefer the simplicity of a messagebox over a wizard for uninstalling, since a yes/no answer is all that is needed, but I think I might just move the data directory to the recycle bin and not bother the user with a question at all, since this still gives them the ability to restore it if

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread Alexander Shevchuk
You don't have to worry about FindRelatedProducts (and MigrateFeatureStates). Wix will schedule them for you. -Original Message- From: chaiguy1337 [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2008 10:56 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Run CA on

[WiX-users] Brandable installers?

2008-10-24 Thread David Bartmess
Is it possible with Wix to write a brandable installer that takes info from an INI or XML file and displays the logo of another company, without having to make custom builds of the installer? Currently our software installer looks to see if a branding.ini file exists, and if it does, reads it

[WiX-users] Custom action Problem

2008-10-24 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi, I want to enter some values from my c# custom action to Wix UI text box. Can i access this text box in my c# CA? Regards Sandeep - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread chaiguy1337
I'm having a problem: turns out the removal is not taking place at all. I guess I didn't notice this before. When I install my update overtop of an existing installation and look at add/remove programs, there are two entries: one for each version. Can someone give me a clue as to what's wrong?

Re: [WiX-users] Custom action Problem

2008-10-24 Thread Chad Miles
Sure, MsiSetProperty(hinstall, PROP, PROPVALUE) I would think, then you could take that PROP and put and use it in your UIText element, while scheduling to run immediate. I'm thinking that would work. On Fri, Oct 24, 2008 at 4:49 PM, Sandeep Gautam (HCL Technologies Ltd) [EMAIL PROTECTED]

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread Chad Miles
Toss up a log if you can. I'd say check your ALLUSERS property between the 2 msis (see if they're different). On Fri, Oct 24, 2008 at 4:58 PM, chaiguy1337 [EMAIL PROTECTED]wrote: I'm having a problem: turns out the removal is not taking place at all. I guess I didn't notice this before. When

Re: [WiX-users] Custom action Problem

2008-10-24 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi Chad, Thanks for quick response. Actually I am using c# custom action. I have assigned the property value in my ca itself. Session[PROP]= PROPVALUE With this code Value are assigning corrretly. But this value is not coming in text box directly. If I am changing UI then coming back to that

[WiX-users] How to disable a feature but still display it in the tree?

2008-10-24 Thread Nghi Nguyen (CSD)
Hello, How do I disable a feature (set level to 0) and still show it (with a X and unselectable) in the feature tree? I tried setting Display option explicitly but no help. Please help. - Nghi Nguyen - - This SF.Net

Re: [WiX-users] Skip dialog during uninstall

2008-10-24 Thread Bob Arnson
Sergey Abakumoff wrote: The executable I use reads some values from the application configuration file(.NET exe and standard config file). If I use executable from the binaries table, then the application can't find it's config file. I am not sure whether it can be fixed..since as I understand

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-24 Thread Bob Arnson
Sergey Abakumoff wrote: Unfortunately, this doesn't help..Does anyone have any other ideas? Please explain how it doesn't work. Do you get an error message? -- sig://boB http://joyofsetup.com/ - This SF.Net email is

Re: [WiX-users] Brandable installers?

2008-10-24 Thread Bob Arnson
David Bartmess wrote: Is it possible with Wix to write a brandable installer that takes info from an INI or XML file and displays the logo of another company, without having to make custom builds of the installer? Windows Installer supports replaceable text (via formattable property

[WiX-users] Multiple products, multiple families?

2008-10-24 Thread Alex Schearer
If I want to update multiple products in a single MSP do I have to create multiple families, one for each product? Alex - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux

Re: [WiX-users] How to disable a feature but still display it in the tree?

2008-10-24 Thread Bob Arnson
Nghi Nguyen (CSD) wrote: How do I disable a feature (set level to 0) and still show it (with a X and unselectable) in the feature tree? I tried setting Display option explicitly but no help. The selection tree control doesn't support that. You can disable a feature but a user can

Re: [WiX-users] BrowseDlg: Error2343 (Specified Path is empty)

2008-10-24 Thread Bob Arnson
Reuss, Matthias wrote: Unfortunately, neither the error message nor the verbose MSI log gives a clue which path might be meant. As far as I see, the only path needed to set up this dialog is the start path for browsing, i.e. a start value for the property linked to the PathEdit,

[WiX-users] MMC managed snapin CA in V3?

2008-10-24 Thread Alexander Shevchuk
Sorry if that was answered before, in this case I somehow missed it. What happened to SnapIn, ExtendedNodeType, PublishedNodeType, and Resources elements in V3? Thanks, Alex - This SF.Net email is sponsored by the Moblin

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread chaiguy1337
Sorry, by original product I merely meant my other program that has nothing to do with this one (except that I'm using it as a basis for comparison). All instances of my current program will be per-user. I presume there is no problem doing a per-user major upgrade on a per-user installation.

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread Ian Elliott (Excell Data Corporation)
It sounds like the two msi's don't have ALLUSERS set to the same value. I don't believe you can perform a major upgrade on msi's that don't match. They both have to be per-user or per-machine. You can't mix and match as far as major upgrades go. -Original Message- From: chaiguy1337

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread chaiguy1337
Neither of the versions have ALLUSERS set at all, because I want them to be per-user. As I explained I worded that poorly. The installer with ALLUSERS=2 was for another product altogether, unrelated to this one. Here's what I'm doing: 1. Build and install program with version 1.0.0.0 and

Re: [WiX-users] Custom action specific Error Massage

2008-10-24 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi, Can you please give me more details about this. Regards Sandeep -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2008 2:27 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom action specific Error

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread Brian Rogers
Ah, I think you revealed the problem: http://msdn.microsoft.com/en-us/library/aa370859(VS.85).aspx Note that Windows Installer uses only the first three fields of the product version. If you include a fourth field in your product version, the installer ignores the fourth field.

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread chaiguy1337
*facepalm* Thanks :S That seems to have done it. I probably never would have figured that out. Brian Rogers-3 wrote: Ah, I think you revealed the problem: http://msdn.microsoft.com/en-us/library/aa370859(VS.85).aspx Note that Windows Installer uses only the first three fields of the

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread Rob Mensching
Was reading the MSI SDK out of the question? Logan, I'm not trying to single you out but there have been a lot of questions lately that could be answered or asked better if the people asking the questions took the time to read the MSI SDK. I don't know about others here but it feels a little

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread chaiguy1337
Rob, it's not like I haven't been putting my own time into solving this as well. I spent the entire day today working on this problem, attempting to find the solution by scouring the internet and coming up with my own test cases. The question started as a simple query concerning the abilities of

Re: [WiX-users] Run CA on uninstall, but not when updating (RemovePreviousVersions)

2008-10-24 Thread Rob Mensching
Again, sorry, I wasn't trying to single you out. Questions are *not* an abuse of the mailing list. You are right about just asking questions. My concern was that I've noticed a trend lately that lots of questions could be found by reading through the MSI SDK and they have been answered with a

[WiX-users] How to enable Install Log

2008-10-24 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi , I want to enable installer log. I don't want to use msiexec /I installer name /l*v installerlog.log Actually I don't want to enforce to user to go on command line and add switch for log. Please help me out how can I enable the log in wix code or ??? Regards Sandeep

Re: [WiX-users] How to enable Install Log

2008-10-24 Thread Ian Elliott (Excell Data Corporation)
http://msdn.microsoft.com/en-us/library/aa370536(VS.85).aspx From: Sandeep Gautam (HCL Technologies Ltd) [EMAIL PROTECTED] Sent: Friday, October 24, 2008 6:51 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to enable

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-24 Thread Sergey Abakumoff
BrowseDlg always shows SAMPLESDIR folder, it doesn't matter that button was clicked - ProgramFilesBrowse or SamplesBrowse. So it seems that _BrowseProperty always set to SAMPLESDIR and setting it to INSTALLDIR in the custom action doesn't have any effect. Bob Arnson-6 wrote: Sergey

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-24 Thread Richard
In article [EMAIL PROTECTED], Sergey Abakumoff [EMAIL PROTECTED] writes: BrowseDlg always shows SAMPLESDIR folder, it doesn't matter that button was clicked - ProgramFilesBrowse or SamplesBrowse. So it seems that _BrowseProperty always set to SAMPLESDIR and setting it to INSTALLDIR

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-24 Thread Sergey Abakumoff
Actually I use the set property events: Control Id=ProgramFilesBrowse Type=PushButton X=304 Y=70 Width=56 Height=17 Cancel=yes Text=Browse... Publish Property=_BrowseProperty Value=INSTALLDIR / Publish Event=SpawnDialog Value=BrowseDlg1/Publish /Control and

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-24 Thread Richard
In article [EMAIL PROTECTED], Sergey Abakumoff [EMAIL PROTECTED] writes: Actually I use the set property events: Control Id=ProgramFilesBrowse Type=PushButton X=304 Y=70 Width=56 Height=17 Cancel=yes Text=Browse... Publish Property=_BrowseProperty Value=INSTALLDIR /

Re: [WiX-users] Using single Dialog to change various paths.

2008-10-24 Thread Sergey Abakumoff
Richard, In the first post I mentioned that I use custom action. It was suggested in the reply that set property event should be used and I started to use that:) However, it didn't solve the problem as I mentioned. Richard-45 wrote: In article [EMAIL PROTECTED], Sergey Abakumoff