Re: [WiX-users] upgrade fails with 1612 error
Thanks for the reply Phil, I am now trying to figure out how that file vanishes (actually 'those files' - my tester has been able to cause this on a few VMs!?) Any ideas why this could happen (besides tampering?). These machines may be localized in different languages, too, but my tester insists that it all happens in English. Thanks again! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/upgrade-fails-with-1612-error-tp7600750p7600915.html Sent from the wix-users mailing list archive at Nabble.com. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] upgrade fails with 1612 error
Sorry, here are the two logs. Setup_AACU_2015-06-30_17-43-54.log http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7600761/Setup_AACU_2015-06-30_17-43-54.log Setup_AACU_2015-06-30_17-37-01.log http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7600761/Setup_AACU_2015-06-30_17-37-01.log -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/upgrade-fails-with-1612-error-tp7600750p7600761.html Sent from the wix-users mailing list archive at Nabble.com. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] upgrade fails with 1612 error
I have a machine where I cannot upgrade my old product to the new version. It is just on this one machine - it has successfully upgraded on many other machines of the same version of windows. Thanks in advance if anyone can tell me why this happens (it is intermittent even on the same machine). User is admin, and the upgrade code has never changed. Product code is different every time I build the installer. Here is the (most obviously to me) relevant part of the msi log: MSI (s) (84:70) [11:31:34:536]: SOURCEMGMT: Media enabled only if package is safe. MSI (s) (84:70) [11:31:34:536]: SOURCEMGMT: Looking for sourcelist for product {BDAE80A8-5F58-46A9-BDD0-1297BC21CC46} MSI (s) (84:70) [11:31:34:536]: SOURCEMGMT: Adding {BDAE80A8-5F58-46A9-BDD0-1297BC21CC46}; to potential sourcelist list (pcode;disk;relpath). MSI (s) (84:70) [11:31:34:536]: SOURCEMGMT: Now checking product {BDAE80A8-5F58-46A9-BDD0-1297BC21CC46} MSI (s) (84:70) [11:31:34:536]: SOURCEMGMT: Media is enabled for product. MSI (s) (84:70) [11:31:34:536]: SOURCEMGMT: Attempting to use LastUsedSource from source list. MSI (s) (84:70) [11:31:34:536]: SOURCEMGMT: Trying source C:\Users\Administrator\AppData\Roaming\Access\Setup\. MSI (s) (84:70) [11:31:34:536]: SOURCEMGMT: Source is invalid due to invalid package code (product code doesn't match). MSI (s) (84:70) [11:31:34:536]: Note: 1: 1706 2: -2147483646 3: Setup_AACU.msi MSI (s) (84:70) [11:31:34:536]: SOURCEMGMT: Processing net source list. MSI (s) (84:70) [11:31:34:536]: Note: 1: 1706 2: -2147483647 3: Setup_AACU.msi MSI (s) (84:70) [11:31:34:536]: SOURCEMGMT: Processing media source list. MSI (s) (84:70) [11:31:35:458]: Note: 1: 2303 2: 87 3: A:\ MSI (s) (84:70) [11:31:35:458]: SOURCEMGMT: Trying media source D:\. MSI (s) (84:70) [11:31:35:458]: Note: 1: 2203 2: D:\Setup_AACU.msi 3: -2147287038 MSI (s) (84:70) [11:31:35:458]: SOURCEMGMT: Source is invalid due to missing/inaccessible package. MSI (s) (84:70) [11:31:35:458]: SOURCEMGMT: Trying media source A:\. MSI (s) (84:70) [11:31:35:552]: Note: 1: 1325 2: Setup_AACU.msi MSI (s) (84:70) [11:31:35:552]: Note: 1: 1706 2: -2147483647 3: Setup_AACU.msi MSI (s) (84:70) [11:31:35:552]: SOURCEMGMT: Processing URL source list. MSI (s) (84:70) [11:31:35:552]: Note: 1: 1402 2: UNKNOWN\URL 3: 2 MSI (s) (84:70) [11:31:35:552]: Note: 1: 1706 2: -2147483647 3: Setup_AACU.msi MSI (s) (84:70) [11:31:35:552]: Note: 1: 1706 2: 3: Setup_AACU.msi MSI (s) (84:70) [11:31:35:552]: SOURCEMGMT: Failed to resolve source MSI (s) (84:1C) [11:31:35:552]: Note: 1: 1714 2: Access Configuration Utility 3: 1612 CustomAction returned actual error code 1612 (note this may not be 100% accurate if translation happened inside sandbox) MSI (s) (84:1C) [11:31:35:552]: Product: Access Configuration Utility -- Error 1714. The older version of Acronis Access Configuration Utility cannot be removed. Contact your technical support group. System Error 1612. Thanks in advance... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/upgrade-fails-with-1612-error-tp7600750.html Sent from the wix-users mailing list archive at Nabble.com. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WiX 3.5 projects don't load properly with new Perforce plugin for vs2010
My VS2010 solution has a bunch of projects in it, and one of them is a WIX installer. We upgraded perforce recently and now I get a msg like this when loading the solution / WiX project: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7599070/p4vsFAIL.jpg My perforce version info:Visual Client (P4V) (x64): 2014.1/978848Plug-in for Windows Explorer (P4EXP) (x64)(x86): 2012.2/826096Administration Tool (P4Admin) (x64): 2014.1/978848Visual Merge Tool (P4Merge) (x64): 2014.1/978848Command Line Client (P4) (x64): 2014.1/821990My latest P4VS Plugin was gotten from here:http://www.perforce.com/product/components/visual-studio-plug-inNot sure what version that is, but it should be the latest.It loads all the other projects successfully, just not the wix 35 one.If I specify Yes - that I want to continue, everything works ok. If I specify No, the load fails and the project is not loaded. It fails with an error message in the VS2010 output window:C:\projects\WiX\ConfigUtility Installer.wixproj : error : Error HRESULT E_FAIL has been returned from a call to a COM component.I have tried deleting the project and solution source control files (.vsscc etc.) and rebinding the project to perforce to no avail.Has anyone seen this error before?Thanks,G -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-3-5-projects-don-t-load-properly-with-new-Perforce-plugin-for-vs2010-tp7599070.html Sent from the wix-users mailing list archive at Nabble.com. -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX 3.5 projects don't load properly with new Perforce plugin for vs2010
I just found the version info for the plugin in VS2010 - it is Microsoft Visual Studio 2010 P4VS - Perforce Plugin for Visual Studio 2014.2.97.6861 -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-3-5-projects-don-t-load-properly-with-new-Perforce-plugin-for-vs2010-tp7599070p7599071.html Sent from the wix-users mailing list archive at Nabble.com. -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX 3.5 projects don't load properly with new Perforce plugin for vs2010
Thanks for looking at this - Downgrading the p4 client cannot be done in this case because the newer p4 server requires the new one. BUT! The good news is that I figured it out. You must manually edit the wixproj file: replace this: SccProjectNameSAK/SccProjectName SccProviderSAK/SccProvider SccAuxPathSAK/SccAuxPath SccLocalPathSAK/SccLocalPath with this: SccProjectName /SccProjectName SccAuxPath /SccAuxPath SccLocalPath /SccLocalPath SccProvider /SccProvider And all is good ! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-3-5-projects-don-t-load-properly-with-new-Perforce-plugin-for-vs2010-tp7599070p7599073.html Sent from the wix-users mailing list archive at Nabble.com. -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] I swear I looked around before asking about pragma message functionality...
Is there a way to get something like (In C++) #pragma message(some message) that I can put in my WiX project file? I want to output in the log the generated product code each time it is built. I found warning but I can't get it to output the value of a variable. I tried a couple of variations of this, and they just show the literal. ?warning ProductCode is !(var.ProductCode) ? It prints out ProductCode is !(var.ProductCode) I am brain dead, so please excuse me for not thinking. Thanks! G -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/I-swear-I-looked-around-before-asking-about-pragma-message-functionality-tp7598646.html Sent from the wix-users mailing list archive at Nabble.com. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] I swear I looked around before asking about pragma message functionality...
Sorry - I was too impatient... I figured it out ;-) Doh! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/I-swear-I-looked-around-before-asking-about-pragma-message-functionality-tp7598646p7598647.html Sent from the wix-users mailing list archive at Nabble.com. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] AdvertiseFlags - what do they mean?
Is there a definition of AdvertiseFlags anywhere that makes sense? I see in the MSI.H file there are two values - installed per user (1), or installed per machine (0). But in the registry for the installed product ([HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products]), I am seeing values like this instead: AdvertiseFlags=dword:0184 What does this mean? Thanks in advance. GAP -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/AdvertiseFlags-what-do-they-mean-tp7598464.html Sent from the wix-users mailing list archive at Nabble.com. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] multiple product codes returned from Upgrade code
Thanks for the help Nick and Phil! You guys have helped me a lot here. I am beginning to see the light. I've got SAME_VERSION set to NOT only-detect because we use the 4th part of the version number for upgrades. I've got to allow version 1.0.0x150 to upgrade 1.0.0x149, for example. I have a custom action that runs after FindRelatedProducts which manipulates the SAME_VERSION, NEWERPRODUCTFOUND and UPGRADEFOUND properties based on the 4th part of the version number. We've basically implemented 4th part-of-the-version-number support for development builds. I'm hoping that the Language= element of the UpgradeVersion element will help here because I read somewhere that MSI will return only the product number that has this specified language ID. Then I should get just one product code in UPGRADEFOUND. I have not tested this yet though - tomorrow's task. I really don't want to (can't?) change upgrade codes for each language version now, or at least I have not thought this all the way through yet. This product got released already, so I have to deal with existing installs. And Phil! Separate upgrade codes for different languages? Great Idea! This sounds like the right way to do it. I will do that next time. ;-) (Boo hoo - I wish I would have thought of that sooner!) Any insight you guys might have into this aspect of it would be greatly appreciated. Thanks again, GAP -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/multiple-product-codes-returned-from-Upgrade-code-tp7598400p7598456.html Sent from the wix-users mailing list archive at Nabble.com. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] multiple product codes returned from Upgrade code
I apologize ahead of time for this ancient usage example, but this is legacy code I am afraid to change ;-) Note that ProductVersion is defined by me and is something like 1.0.0.99 - and I know MSI disregards the last level of this version info. Also note that this MSI is installed Per Machine. Suppose I have this kind of thing going on: Upgrade Id=$(var.UpgradeCode) UpgradeVersion Minimum=$(var.ProductVersion) IncludeMinimum=no Property=NEWERPRODUCTFOUND / UpgradeVersion Minimum=0.1.0 IncludeMinimum=yes Maximum=$(var.ProductVersion) IncludeMaximum=no Property=UPGRADEFOUND / UpgradeVersion Minimum=$(var.ProductVersion) IncludeMinimum=yes Maximum=$(var.ProductVersion) IncludeMaximum=yes Property=SAME_VERSION / /Upgrade After this runs, I have a CA that does some things, and it reads the UPGRADEFOUND property. On occasion, I see two product codes in there when there is (I think) just one product to upgrade. These multiple product codes are separated by a semi-colon. Note that my MSI has one UpgradeCode which never changes, and 4 ProductCodes that do change each time the thing is built. There is one product code generated for each language transform that is embedded in it, and I know that I could restrict what is returned in UPGRADEFOUND by specifying the Language= element for UpgradeVersion element, but I have not done that yet. So I'm wondering how to properly handle this condition. I think I could see more than 1 product codes in UPGRADEFOUND if the (same or different) user installed the product in different languages. Like 2 guys using the same computer, one in English, and one in French? If I put Language elements in the Upgrade element, this would limit what is returned, but how do I prevent users from installing the same version number twice on the same machine when they have different product codes (but same upgrade code)? Under what conditions would there be multiple product codes in that UPGRADEFOUND variable? Is there any order to the appearance of the product codes returned in the UPGRADEFOUND variable? Thanks in advance. GAP -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/multiple-product-codes-returned-from-Upgrade-code-tp7598400.html Sent from the wix-users mailing list archive at Nabble.com. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Embedded Transforms for L10n and how to display them.
Thanks for the replies fellas. Phill is right on - that's the way I do it, and because I inherited this project and am fearful of making big changes and screwing it up ;-) it is still done this way. Someday I'll upgrade to using Burn, too, and get off of the old Wix 3.5. Now back to the original question... how can i see the product codes in the MSI if there are embedded transforms in it? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Embedded-Transforms-for-L10n-and-how-to-display-them-tp7598340p7598365.html Sent from the wix-users mailing list archive at Nabble.com. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Embedded Transforms for L10n and how to display them.
Thanks for the leads to the vb code - looks promising - and I do still have the mst files to apply to the base msi using Orca - I was trying to figure that out before - That helps a lot. I'm going to mess around with the VB code for a bit. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Embedded-Transforms-for-L10n-and-how-to-display-them-tp7598340p7598374.html Sent from the wix-users mailing list archive at Nabble.com. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Embedded Transforms for L10n and how to display them.
When I am done building my installer, (which includes a bunch of localization stuff (which are .mst files embedded into the .msi file)) I'd like to know what the generated ProductCode's are for each .mst file created in the build step. These files get merged into one .msi file, but I cant see them in Orca or any other utility I've found. I'd love to get this crap from a SQL statement, but I haven't figured this out yet. Any suggestions are very welcome! I used the vb script stuff to get the mst's into the msi, and it all works ok, but I just can't see the product codes in Orca. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Embedded-Transforms-for-L10n-and-how-to-display-them-tp7598340.html Sent from the wix-users mailing list archive at Nabble.com. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Strange log message and bad user experience - can't remove rbf file?
This is still a problem. I noticed that this message in the log is the only occurrence, and when it happens, install fails as described above.MSI (s) (C0:84) [15:58:39:643]: Using source file security for destination. I'd like to know just what this message means. MSI has installed the product, but it is trying to remove the associated .rbf file, but it cannot. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Strange-log-message-and-bad-user-experience-can-t-remove-rbf-file-tp7585449p7591571.html Sent from the wix-users mailing list archive at Nabble.com. -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Strange log message and bad user experience - can't remove rbf file?
This is happening a lot now with a different installer. It always is a different file, and the log shows that this is the only entry where the attempt was made twice twice to verify access (immediately following the first attempt), and it also is the only entry in the log that has the bit about Using source file security for destination.. There is no AV running on this system, and it is a win2008R2 64 bit machine. MSI (s) (A8:6C) [00:44:30:958]: Executing op: FileRemove(,FileName=keyword.py,,ComponentId={0BB2B946-4B2E-4096-9410-39E84359B864}) MSI (s) (A8:6C) [00:44:30:974]: Verifying accessibility of file: keyword.py MSI (s) (A8:6C) [00:44:30:974]: Verifying accessibility of file: keyword.py MSI (s) (A8:6C) [00:44:30:974]: Using source file security for destination. MSI (s) (A8:6C) [00:44:30:974]: Note: 1: 1310 2: 5 3: C:\Config.Msi\6b042d.rbf MSI (s) (A8:6C) [00:44:30:974]: Product: Acronis Access File Repository Server -- Error 1310. Error writing to file: C:\Config.Msi\6b042d.rbf. System error 5. Verify that you have access to that directory. The user having this problem is an admin, and is using Remote Desktop to access the machine while upgrading this product... I have seen some other posts out 'there' about the 'System' not having full control of the disk/files, but this is the Config.msi folder, that the system user just created! (Config.msi does not exist prior to upgrade, BTW.). When this problem occurs, the user simply re-runs the exact same installer and everything works fine the second time. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Strange-log-message-and-bad-user-experience-can-t-remove-rbf-file-tp7585449p7590188.html Sent from the wix-users mailing list archive at Nabble.com. -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Strange log message and bad user experience - can't remove rbf file?
I had a customer report a strange problem and am wondering if anyone can decipher this message in my log. The user gets prompted to Retry or Cancel when this problem occurs, and if they choose to retry, it continues the upgrade apparently without a problem. After hundreds of files processing messages in the log, I see this: MSI (s) (C0:84) [15:58:39:628]: Executing op: FileRemove(,FileName=cp1250.py,,ComponentId={28A07942-63EC-4B8D-A1B5-8FAEAAFDEE91}) MSI (s) (C0:84) [15:58:39:643]: Verifying accessibility of file: cp1250.py MSI (s) (C0:84) [15:58:39:643]: Verifying accessibility of file: cp1250.py MSI (s) (C0:84) [15:58:39:643]: Using source file security for destination. MSI (s) (C0:84) [15:58:39:643]: Note: 1: 1310 2: 5 3: C:\Config.Msi\257917cc.rbf MSI (s) (C0:84) [16:03:02:285]: Product: activEcho Server -- Error 1310. Error writing to file: C:\Config.Msi\257917cc.rbf. System error 5. Verify that you have access to that directory. This is the only file in the log that says Using source file security for destination.. And clearly, the process has access to the folder because it just did a few hundred of these operations. What does this mean and how can I avoid it? Thanks for your help. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Strange-log-message-and-bad-user-experience-can-t-remove-rbf-file-tp7585449.html Sent from the wix-users mailing list archive at Nabble.com. -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to force uninstall
Search for msizap.exe on the msdn website. On Apr 15, 2013, at 4:03 PM, Marco Tognacci mark...@live.it wrote: I have think about this problem, if I make a mistake in the setup and for some reason when I have distributed the setup to customers the setup fail to uninstall (for example it could not show the uninstall button on the custom UI). How can I make the customer uninstall the product in a way as simple as possible? So I search if there is some tool to make force uninstall even if it is not possible to uninstall the product from ARP, something like Windows installer cleanup utility, but as it's an old product and it is not supported anymore I'd like to know if is there any better tool to use. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to force uninstall
Well it worked once in a row for me! (with a very simple msi) . It is quick and (extremely) dirty for a development VM that you forgot to take a snapshot of, but I would never say use it where it matters if the machine is usable afterwards. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-force-uninstall-tp7585169p7585181.html Sent from the wix-users mailing list archive at Nabble.com. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Registering Explorer Shell Extension using Heat
I'm surprised that no one has commented on this problem. Either is is such an advanced question that no one has the answer, but it is such a stupid question that the answer is obvious. I'm going with the latter - that this must be the most stupid question asked all day. Well, I don't get it, and I'm up to the wall with this stuff, and I can't figure it out - stupid or not. So I'll bump it and restate it, in hopes that someone has some guidelines I can use when trying to do the following. Jeez... I used heat to harvest a DLL that needs to get registered on the system when it is installed. This DLL registers fine using regsvr32.exe. When I uninstall this package, the system complains that the file is in use (it *is* in use; it is a shell extension to windows explorer). This only happens when it is a lowly user that is trying to uninstall this. I thought that the registry registration/deregistration would happen elevated so removing this stuff from the registry would work. But something is causing the user to get prompted to stop explorer so the dll can be removed. What is best-practice here? Am I missing something? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Registering-Explorer-Shell-Extension-using-Heat-tp7584406p7584611.html Sent from the wix-users mailing list archive at Nabble.com. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Registering Explorer Shell Extension using Heat
Thanks Rob, I used a heat example I found in a thread here - like this: C:\Program Files (x86)\Windows Installer XML v3.5\bin\heat.exe file ShellExt.dll -ag -out file.wxs Should I not do that? What do you mean to Let the Windows Installer manage the registry keys for you instead. - how does one do that? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Registering-Explorer-Shell-Extension-using-Heat-tp7584406p7584620.html Sent from the wix-users mailing list archive at Nabble.com. -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Any ideas on how to solve MessageBox focus, can be lost (using Custom Action DLL)
Why is this *the right way*? Seems way more complicated - besides - how do I do that in C++? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Any-ideas-on-how-to-solve-MessageBox-focus-can-be-lost-using-Custom-Action-DLL-tp7584319p7584612.html Sent from the wix-users mailing list archive at Nabble.com. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Registering Explorer Shell Extension using Heat
We've got a shell extension which hooks into Explorer.exe menus for our stuff. It installs ok using a WiX fragment I generated using heat.exe. But when I try to upgrade it (major upgrade), the files in use dialog displays and says that it must stop explorer.exe to update the files, and it gives an option to have the application restarted after update is complete. Sometimes users pick the wrong option there and explorer.exe doesn't restart, and they are screwed because they don't know what to do next. It's even worse if they are lowly users. I had authored in a couple of regsvr32 custom actions which had impersonate=no specified, (because the user has to have provided elevated creds already). I could get those to run at an early enough time to unregister the extension before MSI looked for files in use, but that is not good for lots of reasons. Things are broken if the user exits the installer before I can re-register it, etc.). So I thought if I used heat to generate the right stuff, then maybe 'files in use' wouldn't occur for the extension because it knows that we have registration information authored in. How can I uninstall a shell extension without having to shutdown explorer? Thanks for any guidance... BTW - I'm using WiX 3.5.2519 -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Registering-Explorer-Shell-Extension-using-Heat-tp7584406.html Sent from the wix-users mailing list archive at Nabble.com. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Any ideas on how to solve MessageBox focus, can be lost (using Custom Action DLL)
Try this - it will keep the messagebox on top of everything. MessageBox(NULL, LPlease click ok to continue., LSetup messageBox title, MB_OK | MB_SYSTEMMODAL); -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Any-ideas-on-how-to-solve-MessageBox-focus-can-be-lost-using-Custom-Action-DLL-tp7584319p7584327.html Sent from the wix-users mailing list archive at Nabble.com. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] computing space requirements - takes a long time
I've got an installer that has to install several hundred files, and it seems to take a long time to compute the space requirements, especially on an upgrade. During this phase, I see in a verbose log that there is a lot of work going on to just add a backslash to the end of all of the folder names being updated. There's a message like this in the log for each folder: MSI (c) (FC:1C) [13:25:08:257]: PROPERTY CHANGE: Adding dir892D072CCFBC52F1571AE901E4A5BC6F property. Its value is 'C:\Program Files (x86)\Our highest-level folder\some-lower-folder'. Then, almost immediately, there is this message following that: MSI (c) (FC:1C) [13:25:08:286]: PROPERTY CHANGE: Modifying dir892D072CCFBC52F1571AE901E4A5BC6F property. Its current value is 'C:\Program Files (x86)\Our highest-level folder\some-lower-folder'. Its new value: 'C:\Program Files (x86)\Our highest-level folder\some-lower-folder\'. The difference is that MSI added a backslash to this folder name. Is there some way to eliminate this extra work, and (even slightly) reduce the amount of time this takes? One cannot add a backslash to the name= attribute of the directory ID specification - tried that. Anyone have any suggestions? Or any suggestions in general to improve this performance? Thanks -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/computing-space-requirements-takes-a-long-time-tp6634392p6634392.html Sent from the wix-users mailing list archive at Nabble.com. -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] IUSR
You hit the nail on the head, Michael! I was able to adapt this very easily to my needs... You rock! Thanks! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/IUSR-tp6404206p6434276.html Sent from the wix-users mailing list archive at Nabble.com. -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] IUSR
I was under the impression that IUSR_USERNAME was a property available from the WiXIISExtensions. Now that I have researched this a little more, I realize this is wrong. I'm just trying to assign specific permissions to a folder for the account that IIS is running under. I was hoping to avoid writing a custom action for this, but maybe that's the way to go. If anyone has a suggestion, it would be greatly appreciated. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/IUSR-tp6404206p6429679.html Sent from the wix-users mailing list archive at Nabble.com. -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] IUSR
I'm trying to set permissions on a file like this, using WiX 3.5: Component Id=MT_PHPLog.log Guid=0FFF2708-5B65-418A-A4C7-F6FFF5B7ACD9 File Id=MT_PHPLog.log Name=PHPLog.log Source=$(var.WebFolder)webroot\PHPLog.log Permission GenericAll=yes User=[WIX_ACCOUNT_NETWORKSERVICE] / Permission GenericAll=yes User=[WIX_ACCOUNT_ADMINISTRATORS] / Permission GenericRead=yes GenericExecute=yes User=[WIX_ACCOUNT_USERS] / Permission GenericWrite=yes User=[IUSR_USERNAME] Domain=[IUSR_DOMAIN] / /File /Component And after install I don't see any explicit permissions for [IUSR_USERNAME], (which should resolve to NT_AUTHORITY/IUSR on my Windows 7 box, I think). Network Service and administrators and Users are there, correctly. What Am I doing wrong here? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/IUSR-tp6404206p6404206.html Sent from the wix-users mailing list archive at Nabble.com. -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WIX_NETWORKSERVICE
OK, I figured it out - needed to add this (duh): -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WIX-NETWORKSERVICE-tp6179107p6181514.html Sent from the wix-users mailing list archive at Nabble.com. -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WIX_NETWORKSERVICE
Hi, I have code like this and when I install on XP and win2003, this works fine. But when I install on win2008R2, I get an error and the install is aborted. The error is An error occurred while applying security settings. Network Service is not a valid user or group. This could be a problem with the package, or a problem connecting to a domain controller on the network. Check your network connection and click retry, or Cancel to end the install. I'm running WiX 3.5. I tried to use PermissionEX and that didn't compile, so I changed it to Util:PermissionEx ... and that doesn't compile either, even though I have the WiXUtilExtension referenced in my VS2010 project. I was assuming that this function in Util must be for older WiX software? What can I do to fix this? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WIX-NETWORKSERVICE-tp6179107p6179107.html Sent from the wix-users mailing list archive at Nabble.com. -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WIX_NETWORKSERVICE
Great! It didn't include my sample code. Let's try this: I should also mention that my system has Italian as the localized language, but not for the user running the install (Administrator). -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WIX-NETWORKSERVICE-tp6179107p6179124.html Sent from the wix-users mailing list archive at Nabble.com. -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WIX_NETWORKSERVICE
Sorry, here's the 'real' code: -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WIX-NETWORKSERVICE-tp6179107p6179129.html Sent from the wix-users mailing list archive at Nabble.com. -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] msbuild variables in wix source files
You need to pass in the VS variable value on the WiX project's command line, by doing something like this: In the build properties for your WiX project, you can define preprocessor variables, and there you could specify something like MYCONFIG=$(Configuration) Then you can test the MYCONFIG variable in WiX code by using something like this: ?if $(var.MYCONFIG)=DEBUG ? ?do something? ?else ? ?do something different? ?endif ? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/msbuild-variables-in-wix-source-files-tp5797212p5797297.html Sent from the wix-users mailing list archive at Nabble.com. -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Visual Studio environment variable testing
Is there a way to query the _MSC_VER visual studio preprocessor variable while building a WiX project using Votive? We changed the locations of some files when we went to VS2010, but we still have to build under vs2008, and I'd like to do some conditional fragment includes based on what version of VS is being used, and I want to use the same source code but with a test in there like this: ?if $(env._MSC_VER) = 15.00.30729.01 ? ?include ..\Wix Source Common\defines.vs2008.wxi? ?else ? ?include ..\Wix Source Common\defines.vs2010.wxi? ?endif ? 15.00.30729.01 is the version number of the VS2008 compiler. Unfortunately _MSC_VER is not known, and it throws an error at compile time. I see there is a WiX extension to figure out some stuff in VS like project name and paths, etc., but not the VS version (AFIK). Any suggestions? Thanks GAP -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Visual-Studio-environment-variable-testing-tp5756945p5756945.html Sent from the wix-users mailing list archive at Nabble.com. -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] SharedDllRefCount on Upgrade
Well! That's exactly what's going on here. The overlapping keyfile thing is the problem - After fixing this (by puttting keyfile on the right file (NOT the component)), the problem is solved! Phil and Blair: you've both been a big help. Thanks again for looking at this weird problem (that I caused all by myself...ugh)... Greg -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/SharedDllRefCount-on-Upgrade-tp5639450p5651089.html Sent from the wix-users mailing list archive at Nabble.com. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX book available
I just bought a copy too - and have devoured the first two chapters. Thanks! I wish it was around a few months ago! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-book-available-tp5647051p5648913.html Sent from the wix-users mailing list archive at Nabble.com. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] INSTALLDIR and Upgrades (reposted in correct forum)
Thanks Blair - I wish I was smart enough to find doc like that - direct hit! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/INSTALLDIR-and-Upgrades-reposted-in-correct-forum-tp5635805p5638820.html Sent from the wix-users mailing list archive at Nabble.com. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] SharedDllRefCount on Upgrade
So on an upgrade, I noticed that some important files were not installed. So I looked in the log and found these: MSI (s) (7C:28) [12:04:18:128]: Component: Service_Component; Installed: Absent; Request: Local; Action: Null MSI (s) (7C:28) [12:04:18:128]: Component: Admin_Component; Installed: Absent; Request: Local; Action: Null And these are the two components that did not get installed on upgrade. The previous version was installed using InstallShield. Of course, this version is now using WiX/MSI. I found a couple of threads in this forum about using SharedDLLRefCount=yes to circumvent this problem. My question is: Should I put SharedDLLRefCount=yes on every component to prevent this problem in the future? What is the downside of this approach? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/SharedDllRefCount-on-Upgrade-tp5639450p5639450.html Sent from the wix-users mailing list archive at Nabble.com. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] SharedDllRefCount on Upgrade
Sorry, looks like I posted too soon. After trying to use SharedDLLRefCount=yes, my WiX installer still won't install these components. I should also note that all of the other components have Action: Local ... and they get installed. What's going on here? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/SharedDllRefCount-on-Upgrade-tp5639450p5639585.html Sent from the wix-users mailing list archive at Nabble.com. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] SharedDllRefCount on Upgrade
Thanks for the reply, Phil. I'm not sure what you mean by migrating feature states, but these two components probably don't have the same component names as something in the previous installer version, and they definitely don't have the same component guids. But neither do the other components that DO get installed... I'm doing a major upgrade, and I am removing the entire older version before installing the new version. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/SharedDllRefCount-on-Upgrade-tp5639450p5639611.html Sent from the wix-users mailing list archive at Nabble.com. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] SharedDllRefCount on Upgrade
Uh Oh. This doesn't sound good... Here's what I'm doing to determine if I need to upgrade: Upgrade Id=$(var.UpgradeCode) UpgradeVersion Minimum=$(var.ProductVersion) OnlyDetect=yes Property=NEWERVERSIONDETECTED / UpgradeVersion Minimum=0.0.0 Maximum=$(var.ProductVersion) IncludeMinimum=yes IncludeMaximum=no Property=OLDERVERSIONBEINGUPGRADED / /Upgrade So I am using UpgradeVersion... Is there another way to do what I'd like to do? (I.e. completely remove the previous version and install a new one over top?) Ugh! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/SharedDllRefCount-on-Upgrade-tp5639450p5639831.html Sent from the wix-users mailing list archive at Nabble.com. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] SharedDllRefCount on Upgrade
Here's two parts of the log... still looking grim... http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n5640249/log.txt log.txt Thanks for helping out Phil... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/SharedDllRefCount-on-Upgrade-tp5639450p5640249.html Sent from the wix-users mailing list archive at Nabble.com. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] SharedDllRefCount on Upgrade
Gladly... here it is. Had to zip it... Thanks again for trying to help. http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n5641073/full.zip full.zip -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/SharedDllRefCount-on-Upgrade-tp5639450p5641073.html Sent from the wix-users mailing list archive at Nabble.com. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] INSTALLDIR and Upgrades (reposted in correct forum)
Sorry about reposting this; I put it in the wrong forum initially... My installer allows the user to specify the folder location for the initial install. But on an upgrade, I'd like to prevent them from changing that location, so I don't allow them to specify the folder. I think I understand how to get the folder name of the original location on upgrade: My code uses * for product code, so a new one is generated with each build. I have a Custom Action in a DLL which will use MsiGetComponentPath with the value of OLDERVERSIONBEINGUPGRADED to determine the folder. I think that this property contains the ProductCode of the version being upgraded. OLDERVERSIONBEINGUPGRADED is set by this code: Upgrade Id=$(var.UpgradeCode) UpgradeVersion Minimum=$(var.ProductVersion) OnlyDetect=yes Property=NEWERVERSIONDETECTED / UpgradeVersion Minimum=0.0.0 Maximum=$(var.ProductVersion) IncludeMinimum=yes IncludeMaximum=no Property=OLDERVERSIONBEINGUPGRADED / /Upgrade Right now, I am setting the INSTALLDIR to a hard-coded value, like this: Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Directory Id=foo Name=MyCompany Name Directory Id=INSTALLDIR Name=My Product Name /Directory /Directory /Directory ... rest of installable components ... /Directory My question is, how do I set INSTALLDIR to the value returned by the call to MsiGetComponentPath, and when should it be scheduled? Thanks -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/INSTALLDIR-and-Upgrades-reposted-in-correct-forum-tp5635805p5635805.html Sent from the wix-users mailing list archive at Nabble.com. -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] prevent component removal on major upgrade
Well, after much goofing around, I think UPGRADINGPRODUCTCODE check is working for what I need. My design is wrong from the start to re-order removal of existing products... but I will design the next installer with this method in mind. Thanks so much for your help Blair... and the great explanation. and thanks again to the rest of the group for helping in general - this would be all but impossible without this forum. Greg -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/prevent-component-removal-on-major-upgrade-tp5600477p5603890.html Sent from the wix-users mailing list archive at Nabble.com. -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] prevent component removal on major upgrade
Hi, I have 3 components that get installed initially. But when I want to upgrade, I'd like to leave one component alone - it never needs to be upgraded. But I do want to upgrade the other two components. I already can do a successful upgrade, but that removes all of the files first, then re-installs new stuff. I'd like to do this still, except for the one component that is ok to stay. I know how to *not* re-install this component - I change the level' on the feature to zero so it won't get re-installed, and the condition for this looks like the following: Condition Level=0OLDERVERSIONBEINGUPGRADED/Condition But I'd like to prevent this one special component from getting deleted on the Upgrade. Any advice would be greatly appreciated... Greg -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/prevent-component-removal-on-major-upgrade-tp5600477p5600477.html Sent from the wix-users mailing list archive at Nabble.com. -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] prevent component removal on major upgrade
Hi Blair, and thanks for the response. What you describe is an advanced functionality that I'm currently incapable of implementing. I just don't know enough about this stuff to even try that right now ... Is there an example of the latter suggestion that you might be able to provide? (i.e. forcing the level of the feature containing your non-upgrading component to 0 during removals that happen due to upgrades.?) Thanks again for your time... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/prevent-component-removal-on-major-upgrade-tp5600477p5601112.html Sent from the wix-users mailing list archive at Nabble.com. -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] prevent component removal on major upgrade
Sorry - just found this link to explain RemoveExistingProducts: http://msdn.microsoft.com/library/aa371197.aspx I am thinking of trying this, but this says that the RemoveExistingProducts needs to be scheduled 'between' the InstallExecute action, or the InstallExecuteAgain action, and the InstallFinalize action. How can I specify this sequence? I have this in there now, but it seems incomplete according to the doc: RemoveExistingProducts After=InstallExecute / How am I supposed to do this? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/prevent-component-removal-on-major-upgrade-tp5600477p5601219.html Sent from the wix-users mailing list archive at Nabble.com. -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Two CheckBoxes, Same Property
Well... I was having trouble with PropertyRef on a checkbox control because you can't do that! I meant to use CheckBoxPropertyRef (which I just learned about in another post), and that works exactly as advertised. Ugh... But thanks Bob! And thanks to Christopher, too. Your suggestion gave me a whole new set of things to think about and exploit :) Thanks again everyone. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Two-CheckBoxes-Same-Property-tp5576848p5580975.html Sent from the wix-users mailing list archive at Nabble.com. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Two CheckBoxes, Same Property
I have a reason to have a checkbox appear on a different place in the same dialog, based on a condition. I was trying to use propertyRef to allow both checkbox controls to use the same property, but I can't get that to work. Of course if I use the same property for each checkbox, I get a compile error (duplicate property). There must be a way to do this... any ideas? Code snippet: Control Id=checkbox1 Type=CheckBox Width=324 Height=34 X=20 Y=145 Property=ALLOW_FIREWALL_EXCEPTION CheckBoxValue=1 Text=allow firewall exception Condition Action=show![CDATA[TRIAL_VERSION 1 AND REMOTE_ADMIN = 1]] /Condition Condition Action=hide![CDATA[MT_TRIAL_VERSION 1 AND REMOTE_ADMIN 1]] /Condition /Control Control Id=checkbox2 Type=CheckBox Width=324 Height=34 X=20 Y=165 Property=ALLOW_FIREWALL_EXCEPTION CheckBoxValue=1 Text=allow firewall exception Condition Action=show![CDATA[TRIAL_VERSION = 1 AND REMOTE_ADMIN = 1]] /Condition Condition Action=hide![CDATA[MT_TRIAL_VERSION = 1 AND REMOTE_ADMIN 1]] /Condition /Control -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Two-CheckBoxes-Same-Property-tp5576848p5576848.html Sent from the wix-users mailing list archive at Nabble.com. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Two CheckBoxes, Same Property
I have another checkbox - above both of these (let's call it checkbox0) - that shows/hides based on the TRIAL_VERSION property. This checkbox0 does not display if TRIAL_VERSION 1. If trial_version is a 1, then I'd like the checkbox1 to appear under checkbox0. But if TRIAL_VERSION is not a 1, I'd like the checkbox2 to appear where checkbox0 is (because checkbox0 would not be visible). It's so the dialog looks better without a gap between two conditional check boxes. There! I hope that's as clear as mud! Thanks Christopher. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Two-CheckBoxes-Same-Property-tp5576848p5576947.html Sent from the wix-users mailing list archive at Nabble.com. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to conditionally check/uncheck a checkbox
Nick! That works exactly the way I'd like it to... I really appreciate your help! Thanks! Greg -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-conditionally-check-uncheck-a-checkbox-tp5539262p5544015.html Sent from the wix-users mailing list archive at Nabble.com. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to conditionally check/uncheck a checkbox
I have a dialog with two check boxes. CB1 and CB2. If CB1 is checked, I'd like to set CB2 to checked, too. And conversely, I'd like to uncheck CB2 if CB1 is unchecked. Control Id=CB1 Type=CheckBox Text=Start [ProductName] services on exit. Property=LAUNCHSERVICEONEXIT CheckBoxValue=1/ Control Id=CB2 Type=CheckBox Text=Launch [ProductName] configuration program on exit. Property=LAUNCHADMINONEXIT CheckBoxValue=1 There must be a way...How can I do this? Thanks -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-conditionally-check-uncheck-a-checkbox-tp5539262p5539262.html Sent from the wix-users mailing list archive at Nabble.com. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to conditionally check/uncheck a checkbox
No, I hadn't tried that... but I just did - and it sort of works, but it isn't what I actually needed. I now have two check boxes that set the same property (e.g. MyCheckBoxResult). I'd like CB2 to be checked initially only if CB1 is checked, and vise-versa. But I would like to allow the user to uncheck CB2 if CB1 is checked too. This code below doesn't allow that - if I uncheck CB2, CB1 becomes unchecked too. Also, with this code, I can't tell the state (checked or not) of CB2 because there is no unique property associated with it now. I think I need to set CB2's 'property' value to 0 if CB1's state is unchecked, (and as a result, CB2's checkbox would be unchecked). -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-conditionally-check-uncheck-a-checkbox-tp5539262p5539664.html Sent from the wix-users mailing list archive at Nabble.com. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to conditionally check/uncheck a checkbox
Sorry for the ambiguity. I'm not asking the right question. Here's what I'd really like to do: On entry to this dialog, both CB1 and CB2 should be checked, so I set their individual properties to 1. The user can un-check CB2 and it should leave CB1 alone. If the user un-checks CB1, I'd like CB2 to become unchecked, too. If the user checks CB1, I'd like CB2 to become checked again, too. CB2 cannot be checked unless CB1 is checked. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-conditionally-check-uncheck-a-checkbox-tp5539262p5539763.html Sent from the wix-users mailing list archive at Nabble.com. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to check if major upgrade in progress?
How can I tell if a major upgrade is in progress in the UI? I want to display a special dialog in the upgrade situation... Thanks -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-check-if-major-upgrade-in-progress-tp5466532p5466532.html Sent from the wix-users mailing list archive at Nabble.com. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to check if major upgrade in progress?
I should add that I'm using this mechanism now, and I test OLDERVERSIONBEINGUPGRADED, but I wanted to ask if this is the right way, or is there a different property I can also test? Upgrade Id=$(var.UpgradeCode) UpgradeVersion Minimum=$(var.ProductVersion) OnlyDetect=yes Property=NEWERVERSIONDETECTED / UpgradeVersion Minimum=0.0.0 Maximum=$(var.ProductVersion) IncludeMinimum=yes IncludeMaximum=no Property=OLDERVERSIONBEINGUPGRADED / /Upgrade -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-check-if-major-upgrade-in-progress-tp5466532p5466683.html Sent from the wix-users mailing list archive at Nabble.com. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Detecting major upgrade problem
Doh! I figured it out - and I've asked this question before but in a different way. The answer is: If you have more than one NewDialog event that has a true condition, the one with the highest order number will execute, and the others will be ignored. You need to make your conditions mutually exclusive. and it was provided by Blair-2 Sorry for the dumb post. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Detecting-major-upgrade-problem-tp5462729p5466765.html Sent from the wix-users mailing list archive at Nabble.com. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to debug CustomAction DLL
I found it pretty easy and straightforward using VS2008 to attach to a setup program awaiting user input from a message box. It was very easy... This MSND article touches on it - http://msdn.microsoft.com/en-us/library/aa368264%28VS.85%29.aspx - just attach to the process that has your messagebox title in it. add a breakpoint in VS2008 on the line of code in the dll after the messagebox. Of course the code has to match the dll... Respond to the button in the messagebox. It will close and stop on the line in the debugger. You do have to remember to remove / disable the message boxes as stated above...when you ship, or when they become so annoying that you can't take it any more. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-debug-CustomAction-DLL-tp5458781p5463104.html Sent from the wix-users mailing list archive at Nabble.com. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] UpgradeGUID question
What is the point of the UpgradeGUID? It appears that it is something independent of the product code - which means that we could leave the upgrade GUID the same for a variety of versions which means uninstall anything w/ this upgrade code. Or, does it mean that we can specify all known product GUIDs of all installers we have built and release, to say remove them before installing? Thanks in advance... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/UpgradeGUID-question-tp5440799p5440799.html Sent from the wix-users mailing list archive at Nabble.com. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Dialog execution order
Thanks Blair - That fixed it... it would be cool if your sentence explaining the problem was easily found or otherwise available in the doc...I was scratching my head for a long time over this. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Dialog-execution-order-tp5417778p5420321.html Sent from the wix-users mailing list archive at Nabble.com. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Dialog execution order
I have a next button like this, and it never displays the MTWebServerConfigDlg dialog. Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=!(loc.WixUINext) TabSkip=no Publish Event=DoAction Value=CreateMySQLAccount Order=11/Publish Publish Event=SpawnDialog Value=MTMySQLErrorDlg Order=2![CDATA[SQL_CONFIG_SUCCEEDED 1]]/Publish Publish Event=DoAction Value=InitializeWebServerSettings Order=3![CDATA[MT_TRIAL_VERSION = 1]]/Publish Publish Event=NewDialog Value=MTWebServerConfigDlg Order=4 ![CDATA[SQL_CONFIG_SUCCEEDED = 1 AND MT_TRIAL_VERSION = 1]]/Publish Publish Event=NewDialog Value=MTSMTPConfigDlg Order=5 ![CDATA[SQL_CONFIG_SUCCEEDED = 1 AND MT_TRIAL_VERSION 1 AND CONFIGSMTP = 1]]/Publish Publish Event=NewDialog Value=InstallDirDlg Order=6 ![CDATA[SQL_CONFIG_SUCCEEDED = 1 AND CONFIGSMTP 1]]/Publish /Control My log file shows this: because I unchecked a checkbox, this appeared earlier: MSI (c) (B0:DC) [16:14:44:276]: PROPERTY CHANGE: Deleting CONFIGSMTP property. Its current value is '1'. ... MSI (c) (B0:DC) [16:14:38:996]: Doing action: IsTrialVersion Action 16:14:38: IsTrialVersion. Action start 16:14:38: IsTrialVersion. MSI (c) (B0:50) [16:14:39:017]: Invoking remote custom action. DLL: C:\Users\GAP~1.GRO\AppData\Local\Temp\MSIB572.tmp, Entrypoint: IsTrialVersion MSI (c) (B0!74) [16:14:40:018]: PROPERTY CHANGE: Adding MT_TRIAL_VERSION property. Its value is '1'. Action ended 16:14:40: IsTrialVersion. Return value 1. Action 16:14:47: MTMySQLConfigDlg. Dialog created MSI (c) (B0:DC) [16:14:50:836]: PROPERTY CHANGE: Adding DATABASE_PASSWORD property. Its value is '**'. MSI (c) (B0:DC) [16:14:51:596]: PROPERTY CHANGE: Adding DATABASE_CONFIRM_PASSWORD property. Its value is '**'. MSI (c) (B0:DC) [16:14:55:012]: PROPERTY CHANGE: Adding DATABASE_ROOT_PASSWORD property. Its value is '**'. MSI (c) (B0:DC) [16:14:55:117]: Doing action: CreateMySQLAccount Action 16:14:55: CreateMySQLAccount. Action start 16:14:55: CreateMySQLAccount. MSI (c) (B0:F8) [16:14:55:140]: Invoking remote custom action. DLL: C:\Users\GAP~1.GRO\AppData\Local\Temp\MSIF469.tmp, Entrypoint: CreateMySQLAccount MSI (c) (B0!F4) [16:14:55:161]: PROPERTY CHANGE: Modifying SQL_CONFIG_SUCCEEDED property. Its current value is '0'. Its new value: '1'. MSI (c) (B0!F4) [16:14:55:161]: PROPERTY CHANGE: Deleting ERROR_STRING property. Its current value is 'Remote Administration is now disabled.'. MSI (c) (B0!F4) [16:14:55:161]: PROPERTY CHANGE: Adding SUCCESS_STRING property. Its value is 'MySQL account configured successfully!'. Action ended 16:14:55: CreateMySQLAccount. Return value 1. MSI (c) (B0:DC) [16:14:55:164]: Doing action: InitializeWebServerSettings Action 16:14:55: InitializeWebServerSettings. Action start 16:14:55: InitializeWebServerSettings. MSI (c) (B0:0C) [16:14:55:185]: Invoking remote custom action. DLL: C:\Users\GAP~1.GRO\AppData\Local\Temp\MSIF499.tmp, Entrypoint: InitializeWebServerSettings MSI (c) (B0!B4) [16:14:58:059]: PROPERTY CHANGE: Adding WEBSERVER_PORT property. Its value is '80'. MSI (c) (B0!B4) [16:14:59:059]: PROPERTY CHANGE: Adding WEBSERVER_PORTS_SUCCEEDED property. Its value is '1'. Action ended 16:14:59: InitializeWebServerSettings. Return value 1. Action 16:14:59: InstallDirDlg. Dialog created Action 16:15:15: CancelDlg. Dialog created Property(C): SQL_CONFIG_SUCCEEDED = 1 Property(C): WEBSERVER_PORTS_SUCCEEDED = 1 Property(C): MT_TRIAL_VERSION = 1 ** Here's what Orca says about it: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n5417778/x.jpg Why doesn't the MTWebServerConfigDlg dialog run ? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Dialog-execution-order-tp5417778p5417778.html Sent from the wix-users mailing list archive at Nabble.com. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Dialog execution order
I should also mention that the dialog in question will display if I don't un-check the CONFIGSMTP check box, i.e. Property CONFIGSMTP = 1... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Dialog-execution-order-tp5417778p5417804.html Sent from the wix-users mailing list archive at Nabble.com. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Custom Browse Dialog
Hi, I need to prompt the user for the location of a file before installing my software. I'm disappointed that I couldn't find an example of this ANYWHERE. There are lots of discussions about using custom browse dialog, but no examples. If I figure this out, I will publish an example. I give the user the file to put on their system (anywhere), and at the start of setup, I need to parse that file using a CA in a DLL. It is a license file, and I'll use some info in there to determine some features to install. So after the LicenseAccept dialog, I have a new dialog (PreInstallDlg.wxs) which has a browse button on it to fire up my copy of the browseDlg.wxs code (MTBrowselDlg.wxs). The browse control looks like this: Control Id=LicenseFile Type=PushButton X=20 Y=120 Width=56 Height=17 Text=Browse / In my copy of the WixUI_InstallDir code, I have the following code: Publish Dialog=MTPreInstallDlg Control=LicenseFile Property=_BrowseProperty Value=[LICENSE_FILE] Order=11/Publish Publish Dialog=MTPreInstallDlg Control=LicenseFile Event=SpawnDialog Value=MTBrowseDlg Order=21/Publish My MTBrowseDlg looks like this: Fragment UI Property Id=_BrowseProperty Value=LICENSE_FILE / Dialog Id=MTBrowseDlg Width=370 Height=270 Title=!(loc.BrowseDlg_Title) Control Id=PathEdit Type=PathEdit X=25 Y=202 Width=320 Height=18 Property=_BrowseProperty Indirect=yes / *** blah blah - just like the original dialog *** /Dialog /UI /Fragment This compiles ok, but when I run it, I get this error: Action 14:16:01: MTPreInstallDlg. Dialog created MSI (c) (A4:2C) [14:16:04:898]: PROPERTY CHANGE: Deleting _BrowseProperty property. Its current value is 'LICENSE_FILE'. DEBUG: Error 2819: Control PathEdit on dialog MTBrowseDlg needs a property linked to it The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2819. The arguments are: MTBrowseDlg, PathEdit, MSI (c) (A4:2C) [14:16:06:704]: Product: MTX -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2819. The arguments are: MTBrowseDlg, PathEdit, How can I fix this error? Thanks -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Browse-Dialog-tp5413342p5413342.html Sent from the wix-users mailing list archive at Nabble.com. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom Browse Dialog
Hey Thanks Nick! That was pretty close... This license file won't be 'installed', it will be emailed to the user, so it is possible for the user to put it anywhere before running setup. So I followed your suggestion to set the variable correctly, but I set it to C:\, and it is acting correctly now. Thanks a lot for your help! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Browse-Dialog-tp5413342p5414318.html Sent from the wix-users mailing list archive at Nabble.com. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Hide the cancel button on progressDlg nightmare
Did you export the HideCancelButton function correctly (in a def file?) -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Hide-Cancel-button-on-ProgressDlg-with-WiXUI-InstallDir-tp5220745p5222725.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Unable to log through DLL using MsiProcessMessage
By the way - is this DoAction limitation documented somewhere? It's really too bad this doesn't work ... waah! (Ok, done whining)... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Unable-to-log-through-DLL-using-MsiProcessMessage-tp709471p5208982.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Unable to log through DLL using MsiProcessMessage
Thanks Phil, I appreciate that piece of info... Maybe I can use the Message Method to work around this limitation... http://msdn.microsoft.com/en-us/library/aa368322(VS.85).aspx http://msdn.microsoft.com/en-us/library/aa368322(VS.85).aspx -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Unable-to-log-through-DLL-using-MsiProcessMessage-tp709471p5210121.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Invoking a custom action on entry to a dialog...
This is clearly another noob question, and I apologize in advance...(I looked around for the answer, really, but I couldn't find any other dumb questions like this)... I'd like to execute a custom action when a dialog is entered. My custom action is a function in a DLL - to initialize a particular variable. Must I do this on a control, like next, on the previous dialog? Or can I cause it to get executed before the current dialog displays? My custom action is (incorrectly) defined like this in a fragment/UI called MyAction: Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Fragment CustomAction Id=MyAction BinaryKey=InstallDLL DllEntry=CheckMyAction/ UI Publish Dialog=MyDlg Event=DoAction Value=MyAction Order=11/Publish Dialog Id=MyDlg Width=370 Height=270 Title=[ProductName] Pre-Installation Requirements blah blah The compiler flags this as an error because it needs to be associated with a control: error CNDL0010: The Publish/@Control attribute was not found; it is required. What is the right way to do this? Thanks ahead of time... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Invoking-a-custom-action-on-entry-to-a-dialog-tp5210152p5210152.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Invoking a custom action on entry to a dialog...
Thanks Blair - I figured it out - (with your help!) - I didn't want to modify the previous dialog (std wix dialog) just to add my 'next' action to it, so I fumbled around enough with my copy of WixUIInstallDir.wxs and got it to go... actually very clean/easy once I realized how it works. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Invoking-a-custom-action-on-entry-to-a-dialog-tp5210152p5211436.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Unable to log through DLL using MsiProcessMessage
Well, I can't support quiet mode using this installer, partially because of these bad design decisions, and partially because it wasn't in the original design and I'm a noob. I should blog about my experience in the WiX world - it has been a little confusing, to say the least. It might help other noobs from falling into this hole. I'll be designing the next installer a little differently, and will certainly consider your suggestion (and others) about asking questions up front or doing configuration with a separate utility... Thanks for your help. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Unable-to-log-through-DLL-using-MsiProcessMessage-tp709471p5190819.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Dialogs out of order?
I solved this problem by re-writing part of the code - not sure exactly what the problem was, but its not a problem anymore. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Dialogs-out-of-order-tp5177864p5190829.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Unable to log through DLL using MsiProcessMessage
Yes, that seems to be the case. Any logging I try to do that works, is in a custom action, not a DoAction event. The ones that fail are in DoAction events. Hmmm. I guess I'll have to keep that in mind. Thanks for demystifying... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Unable-to-log-through-DLL-using-MsiProcessMessage-tp709471p5192088.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Unable to log through DLL using MsiProcessMessage
I have a similar problem, and I see this message was ignored by the community. Maybe it is a stupid question? I dunno - but I have the problem too. I noticed my MSIHANDLE is one ('1') before installation of the files. AFter the files are installed, the MSIHANDLE is eight ('8'). Before installing the files, I can log custom messages to the log file from my DLL, no problem. But after the files are installed, (just before exit dialog), I can no longer log any messages. The MSIHANDLE is eight, and the result from MsiProcessMessage is zero - means no action taken. Is the change of handle just a coincidence? I tried using '1' for the handle always (of course, just as a test), and it still doesn't work. Handle one must have been closed somewhere along the line. Can someone please shed some light on this? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Unable-to-log-through-DLL-using-MsiProcessMessage-tp709471p5187681.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Unable to log through DLL using MsiProcessMessage
Thanks for the reply, Blair. Yeah, I just tried that for the heck of it... I would not ever do that in production... But the problem remains... I cannot log something late in the install process... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Unable-to-log-through-DLL-using-MsiProcessMessage-tp709471p5189209.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Unable to log through DLL using MsiProcessMessage
Hi Sascha - Thanks for the example code. I understand the out-of-scope handle problem, and I don't save one and use it for something...I just mentioned that in the previous post to see if it made a difference during debug. My code does work, until after install. I can log all day, but not after installation is (almost) complete. I display a configuration dialog after the files are installed, and prior to the final WiXExitDlg. During that time I can't write to the log, and I just happened to notice that the MSIHANDLE changed. I just don't understand why I can't log at that time. The MsiProcessMessage function returns no action taken... wtf? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Unable-to-log-through-DLL-using-MsiProcessMessage-tp709471p5189352.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Conditional dialog display when uninstalling
WARNING Another NOOB alert... /WARNING After all of my files get installed, I need to prompt for some additional configuration information. I created a custom dialog to do this. It has a couple check boxes on it. I would like to NOT have this dialog run at all if the user is removing the product via uninstall. Note: InitializeSettings is a DLL function that sets some properties. To get the dialog to display right after installing the files, I put this code in my fragment: InstallUISequence Custom Action=InitializeSettings After=ExecuteAction![CDATA[(REMOVE ALL)]] /Custom Show Dialog=ExtraConfigDlg OnExit=success![CDATA[(REMOVE ALL)]]/Show /InstallUISequence But this dialog, (and InitializeSettings) runs on uninstall, too. I would like to have the last dialog in my stuff (the WixExitDlg dialog) to show instead of this one, when the user is uninstalling. How can I accomplish this? Thanks Greg -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Conditional-dialog-display-when-uninstalling-tp518p518.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Dialogs out of order?
More NOOB stuff follows: The following code doesn't run in the order that I would have expected, based on the Order= parameters. I would like to display the ConfigSQLDlg before the ConfigSMTPDlg, but this actually happens in the reverse order... SMTP is first, then SQL. Note that the checkboxes are checked by default, initially. Also note that the SQL checkbox is disabled. I display it on the dialog 'disabled' because it is a required configuration step, so the user must configure this before proceeding to the exit dialog. What am I doing wrong this time? Thanks, in advance... (again!) Greg Property Id=SQL_CONFIG_SUCCEEDED Value=0 / Property Id=SMTP_CONFIG_SUCCEEDED Value=0 / Property Id=CONFIGSQL Value=1 / Property Id=CONFIGSMTP Value=0 / UI Dialog Id=ConfigDlg Width=370 Height=270 Title=[ProductName] Configuration Options Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=!(loc.WixUINext) Cancel=yes Publish Event=SpawnDialog Value=ConfigSQLDlg Order=1 ![CDATA[CONFIGSQL = 1 AND SQL_CONFIG_SUCCEEDED = 0]] /Publish Publish Event=SpawnDialog Value=ConfigSMTPDlg Order=2 ![CDATA[CONFIGSMTP = 1 AND SMTP_CONFIG_SUCCEEDED = 0]] /Publish Publish Event=NewDialog Value=WixExitDlg Order=3 ![CDATA[CONFIGSMTP 1 AND CONFIGMYSQL 1]] /Publish /Control Control Id=Cancel Type=PushButton X=304 Y=243 Width=56 Height=17 Disabled=no Text=!(loc.WixUICancel) Publish Event=SpawnDialog Value=CancelDlg1/Publish /Control Control Type=CheckBox Id=cbConfigSQL Width=125 Height=17 X=20 Y=90 Text=Configure SQL (Required) Property=CONFIGSQL Disabled=yes CheckBoxValue=1 / Control Type=CheckBox Id=cbConfigSMTP Width=213 Height=17 X=20 Y=112 Text=Configure SMTP (Optional) Property=CONFIGSMTP CheckBoxValue=1 / /Dialog /UI -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Dialogs-out-of-order-tp5177864p5177864.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Conditional dialog display when uninstalling
Show Dialog=ExtraConfigDlg OnExit=success![CDATA[(REMOVE ALL) AND NOT Installed]]/Show The AND NOT INSTALLED clause solved that problem - thanks Pally... The reason I can't ask the configuration questions earlier in the install process is that the installer installs a needed file. After this file is installed, I run a DLL function which parses the file and populates some properties prior to dialog display. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Conditional-dialog-display-when-uninstalling-tp518p5178312.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Dialogs out of order?
Actually, being such a NOOB, I can't see the connection between this post and the previous one... they do seem to be separate problems to me... But that said, I'll review and continue this thread if I can't figure it out. Thanks again! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Dialogs-out-of-order-tp5177864p5178330.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Dialogs out of order?
Hi Pally (et. al.), I don't see how this post and the other (previous on from me) are related, so this question still stands... TIA Greg -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Dialogs-out-of-order-tp5177864p5178373.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Conditional dialog display when uninstalling
What's stopping you asking the user questions in the InstallUISequence running the DLL function in the InstallExecuteSequence as is standard practice? Your custom action doesn't need to run immediately as soon as you gather information from the user, you can still schedule it after InstallFiles or whatever you feel is appropriate. No answer to basic or quiet UI? The custom action populates some defaults in the dialog prior to dialog display. These defaults are gotten from a file that is installed and parsed by a DLL function, right after install files. This dialog is supposed to allow the user to reconfigure the default values gotten from that just-installed file. Quiet UI - right now, it isn't allowed - the user must answer some configuration questions, so quiet install is not an option. However, I have coded for it in some places tho - in the hope that someday we'll remove this restriction to configure this thing after install. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Conditional-dialog-display-when-uninstalling-tp518p5178470.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Spawn dialog from Spawned dialog
Can I do that? I'd like to spawn a different dialog from a spawned dialog. I looked around - this Q must have been asked before - but I couldn't find it. TIA Greg -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Spawn-dialog-from-Spawned-dialog-tp5170676p5170676.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] NEXT button behavior
I created a custom dialog and stuck the forward and backward links in my copy of WixUI_InstallDir.wxs: Publish Dialog=MyConfigDlg Control=Back Event=NewDialog Value=InstallDirDlg Order=1NOT Installed/Publish Publish Dialog=MyConfigDlg Control=Next Event=NewDialog Value=VerifyReadyDlg Order=2NOT Installed/Publish I made a new wxs file with a fragment in it that describes my dialog. All this seems to work. I would like to have it so that when the user clicks the next button, I do a custom action in a DLL to validate what they put in on my new dialog. I already have this, too, and it also seems to work. Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Cancel=yes Text=!(loc.WixUINext) Publish Event=DoAction Value=ValidateMyStuff1/Publish Publish Event=NewDialog Value=VerifyReadyDlg![CDATA[MYSTUFFISVALID = 1]]/Publish /Control The DLL returns a 0 or a 1 in MYSTUFFISVALID after parameter validation. 0 is bad, 1 is good. What I'm trying to do is force the user back to my dialog to fix the errors, and then they would click NEXT again, and I would repeat the validation... How do I make the same dialog re-appear to keep the user on this dialog until they enter the right stuff? Is there an example of this somewhere that you know of? Thanks, in advance. Greg -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/NEXT-button-behavior-tp5163545p5163545.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] NEXT button behavior
Thanks for the quick response, Pally. That is the problem - I was hoping to not have to add an extra button. I couldn't figure out how to check everything before the user clicks the next button... Hmmm. Any other ideas? Thanks again Greg -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/NEXT-button-behavior-tp5163545p5163942.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] NEXT button behavior
Hmmm. I could give that a try... My dialog has 4 edit controls on it that need to be filled in by the user, and then parsed by the DLL, Like you said, maybe another 'validate' button is the best way. I'll try a few things and report back. Thanks again... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/NEXT-button-behavior-tp5163545p5164230.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] NEXT button behavior
Perfect Mike! That's what I was looking for... It works GREAT! Thanks! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/NEXT-button-behavior-tp5163545p5166022.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] I broke my project somehow...
Ugh. I uninstalled/reinstalled wix 30 and still same problem. I eventually figured out that I had to do a devenv /resetskippkgs at the command line, and it all works again now. Thanks for your help everyone! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/I-broke-my-project-somehow-tp5151196p5154573.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] What happened to 3.0?
I see that the source tree moved from SourceForge to codeplex YESTERDAY. But on the 3.5 stuff is on codeplex. Where did the 'stable' release of 3.0 go? Today I couldn't load my wix project in VS2008 for some reason. I got a message like this: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n5151101/error.jpg So I thought, what the hell? Maybe I broke something... so I decided to re-install 3.0. When I couldn't find it on codeplex or anywhere else, I decided to bite the bullet and install 3.5. But that caused more problems... I had to manually edit the project files to find the new WiX 3.5 folder in the MSBuild folder - that took a while to figure out. But when I fixed that, it still won't load. I'm dyin' out here... Please help! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/What-happened-to-3-0-tp5151101p5151101.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] What happened to 3.0?
Thanks Neil - I found it. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Re-What-happened-to-3-0-tp5151154p5151179.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] I broke my project somehow...
Somehow I broke my VS2008 project and I can't load my wixproj any more. I'm getting the following error: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n5151101/error.jpg Reinstalling 3.0 didn't help. Any suggestions on how to fix this? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/I-broke-my-project-somehow-tp5151196p5151196.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Starting a service conditionally after InstallInitialize
Thanks! That worked! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Starting-a-service-conditionally-after-InstallInitialize-tp5135712p5139702.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Starting a service conditionally after InstallInitialize
Hello group - I'm still a NOOB and I'm trying to start a service conditionally after everyting is installed, and I modified the ExitDialog for WiX to show a check box which sets the value for LAUNCHAPPONEXIT to 1 if the user checked the checkbox. This almost works, except I get this message in the msi log when executing the setup, which causes the setup to fail: CAQuietExec: The service name is invalid. CAQuietExec: CAQuietExec: More help is available by typing NET HELPMSG 2185. CAQuietExec: CAQuietExec: Error 0x80070002: Command line returned an error. CAQuietExec: Error 0x80070002: CAQuietExec Failed I'm sure that the service name is ok, so maybe it isn't known at this point in the install process? Here's to code that executes that: Property Id=QtExecDeferred Value=quot;Netquot; start quot;MyServicequot;/ CustomAction Id=QtExecDeferred BinaryKey=WixCA DllEntry=CAQuietExec Execute=deferred Return=check / InstallExecuteSequence Custom After=InstallInitialize Action=QtExecDeferredLAUNCHAPPONEXIT/Custom /InstallExecuteSequence As usual, any help is greatly appreciated. Thanks, GAP -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Starting-a-service-conditionally-after-InstallInitialize-tp5135712p5135712.html Sent from the wix-users mailing list archive at Nabble.com. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Trying to keep it simple...WixUI_InstallDir error 2343
I'm trying to use WixUI_InstallDir as my UI, and when I do, and compile it, and run it, I get the following message in the MSI log: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2343. The arguments are: , , Please see the attached MSI log file. It shows that INSTALLDIR is correct (I am assuming, from other posts, that INSTALLDIR is the offending variable. If I use WixUI_Mondo, there is no problem, and I don't get this error). How can I fix this problem? How does one specify the PathText for this dialog? Thanks ahead of time... http://n2.nabble.com/file/n5094719/install.log install.log -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Trying-to-keep-it-simple-WixUI-InstallDir-error-2343-tp5094719p5094719.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Trying to keep it simple...WixUI_InstallDir error 2343
Aw man! Pally! You rock! Thanks for the quick response - That fixed it! I was confused by the tutorial here: http://www.tramontana.co.hu/wix/lesson2.php I put Property Id=WIXUI_INSTALLDIR Value=TOP_LEVEL_DIR / because I saw in this tutorial that it was needed if I used WixUI_InstallDir! There is an asterisk next to WixUI_InstallDir specification on this tutorial page. Section 2.3 says: *Note that if you use this dialog set, you'll have to provide an extra property somewhere in your source: Property Id=WIXUI_INSTALLDIR Value=TOP_LEVEL_DIR / So maybe I'm missing something, or the tutorial is wrong, but no worries now! Thanks! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Trying-to-keep-it-simple-WixUI-InstallDir-error-2343-tp5094719p5095033.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Trying to keep it simple...WixUI_InstallDir error 2343
OH! Duh! (Sheesh!) Thanks - that makes sense. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Trying-to-keep-it-simple-WixUI-InstallDir-error-2343-tp5094719p5095087.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] PropertyRef WIX_SUITE_WH_SERVER
Well it seems like that should work... I didn't see that in the example you linked to?...hmmm. And now we have this, too: http://www.winsupersite.com/server/whs_vail_preview.asp WHS Based on Win2008R2. So the version info is changing. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Re-PropertyRef-WIX-SUITE-WH-SERVER-tp4958608p4980408.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] PropertyRef WIX_SUITE_WH_SERVER
I'm running WHS v5.2 build 3790.srv03_sp2_gdr.100216-1301 : Service Pack 2. I think you need to check one more bit. The example you linked to previously doesn't check the suite name. I jammed the folowing code into a dll, and I call that, and it works correctly between 2003 and WHS. bool declspec (all that jazz for an external DLL header) IsWindowsHomeServer() { /* IsWindowsHomeServer Returns whether or not we're running on Windows Home Server. Determining that requires we check the suite name - this will distinguish it from Windows 2003, which has the same major and minor versions. */ bool bIsWindowsHomeServer = false; OSVERSIONINFOEX osvi; DWORDLONG dwlConditionMask = 0; // Initialize the OSVERSIONINFOEX structure. ZeroMemory(osvi, sizeof(OSVERSIONINFOEX)); osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX); osvi.dwMajorVersion = 5; osvi.dwMinorVersion = 2; osvi.wSuiteMask = VER_SUITE_WH_SERVER; // Initialize the condition mask. VER_SET_CONDITION( dwlConditionMask, VER_MAJORVERSION, VER_AND ); VER_SET_CONDITION( dwlConditionMask, VER_MINORVERSION, VER_AND ); VER_SET_CONDITION( dwlConditionMask, VER_SUITENAME, VER_AND ); // Perform the test. BOOL result = VerifyVersionInfo(osvi, VER_MAJORVERSION | VER_MINORVERSION | VER_SUITENAME, dwlConditionMask ); if (result) { bIsWindowsHomeServer = true; } else { DWORD error = GetLastError(); if (error == ERROR_OLD_WIN_VERSION) { // LOG_DEBUG(IsWindowsHomeServer - not running on Windows Home Server.\n); } else { // LOG_DEBUG(IsWindowsHomeServer - VerifyVersionInfo failed (error %ld).\n, error); } } return (bIsWindowsHomeServer); } Greg -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Re-PropertyRef-WIX-SUITE-WH-SERVER-tp4958608p4965687.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] PropertyRef WIX_SUITE_WH_SERVER
Thanks for the hint, Bob. I ran the installer and produced a log, but I don't see anything obviously wrong in there. (But I'm a noob). I ran this on a WH Server, using V3.0.5419 of WiX, and it prevents me from installing. Maybe you could take a quick look? I'd appreciate it... I included this log file: http://n2.nabble.com/forum/FileDownload.jtp?type=nid=4960181name=logname.log logname.log Here's the relevant snip: MSI (c) (80:D4) [18:17:43:044]: Doing action: WixQueryOsInfo MSI (c) (80:D4) [18:17:43:044]: Note: 1: 2205 2: 3: ActionText Action 18:17:43: WixQueryOsInfo. Action start 18:17:43: WixQueryOsInfo. MSI (c) (80:1C) [18:17:43:059]: Invoking remote custom action. DLL: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\MSI13.tmp, Entrypoint: WixQueryOsInfo MSI (c) (80:6C) [18:17:43:075]: Cloaking enabled. MSI (c) (80:6C) [18:17:43:075]: Attempting to enable all disabled priveleges before calling Install on Server MSI (c) (80:6C) [18:17:43:075]: Connected to service for CA interface. Action ended 18:17:43: WixQueryOsInfo. Return value 1. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Re-PropertyRef-WIX-SUITE-WH-SERVER-tp4958608p4960181.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] PropertyRef WIX_SUITE_WH_SERVER
Bump? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/PropertyRef-WIX-SUITE-WH-SERVER-tp4933515p4947530.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users