[WiX-users] How to compare Property element values in Condition element?
Hi, I created a PROPERTY element to get the version of GPMC . The code given below; Property Id=GPMCCHECK RegistrySearch Id=GPMC Root=HKLM Key=SOFTWARE\Microsoft\MMC\SnapIns\{E12BBB5D-D59D-4E61-947A-301D25AE8C23} Name=Version Type=raw / /Property In the Property - GPMCCHECK, i try to get the details of the version. Say the version is 1.0.2 in the Registry. I do Condition![CDATA[(GPMCCHECK == '1.0.2')]]/Condition and install the files based on the version. But the installer is not installing the file when the version 1.0.2. I tried other options like GPMCCHECK=1.0.2 and GPMCCHECK==1.0.2. But everything went in vain. Kindly guide me how to compare the Property value in the condition element. Thanks, Naresh Krishna Kumar. K -- View this message in context: http://www.nabble.com/How-to-compare-Property-element-values-in-Condition-element--tf4400559.html#a12552706 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to compare Property element values in Conditionelement?
Hi, Yes I compared the value present in the log file. say '1.0.2' was the value in the log file for this property. Thanks, Naresh Krishna Kumar. K Stefan Krueger [MVP] wrote: Did you create a log file to see what value GPMCCHECK really has after AppSearch? -- Stefan Krueger Microsoft Windows Installer MVP Please post your questions in the newsgroup or vist one of these web sites: Windows Installer FAQ http://www.msifaq.com - http://www.msifaq.de InstallSite - Resources for Setup Developers http://www.installsite.org http://www.installsite.de (GERMAN) Naresh Krishna Kumar K [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] Hi, I created a PROPERTY element to get the version of GPMC . The code given below; Property Id=GPMCCHECK RegistrySearch Id=GPMC Root=HKLM Key=SOFTWARE\Microsoft\MMC\SnapIns\{E12BBB5D-D59D-4E61-947A-301D25AE8C23} Name=Version Type=raw / /Property In the Property - GPMCCHECK, i try to get the details of the version. Say the version is 1.0.2 in the Registry. I do Condition![CDATA[(GPMCCHECK == '1.0.2')]]/Condition and install the files based on the version. But the installer is not installing the file when the version 1.0.2. I tried other options like GPMCCHECK=1.0.2 and GPMCCHECK==1.0.2. But everything went in vain. Kindly guide me how to compare the Property value in the condition element. Thanks, Naresh Krishna Kumar. K -- View this message in context: http://www.nabble.com/How-to-compare-Property-element-values-in-Condition-element--tf4400559.html#a12552706 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- View this message in context: http://www.nabble.com/How-to-compare-Property-element-values-in-Condition-element--tf4400559.html#a12560584 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to automate download and install feature in WIX?
Hi, Can anybody throw some light regarding chainer or bootstrapper? What will these features do? Thanks, Naresh Krishna Kumar. K Bob Arnson-6 wrote: Naresh Krishna Kumar K wrote: I have written a Custom Action DLL using Visual C++. MSI will take the user to the download page of the software if the particular software is not installed in the user machine while installing the MSI. Is it possible to download and install the particular software in microsoft download center without user intervention using WIX (Custom Action). No, because you can't run multiple installations simultaneously, so it's not possible from within a custom action. You need to provide a standalone .exe chainer/bootstrapper to handle it. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- View this message in context: http://www.nabble.com/How-to-automate-download-and-install-feature-in-WIX--tf4201613.html#a11968358 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to automate download and install feature in WIX?
Hi, I have written a Custom Action DLL using Visual C++. MSI will take the user to the download page of the software if the particular software is not installed in the user machine while installing the MSI. Is it possible to download and install the particular software in microsoft download center without user intervention using WIX (Custom Action). If yes, kindly guide me how to go about this feature. Thanks, Naresh Krishna Kumar. K -- View this message in context: http://www.nabble.com/How-to-automate-download-and-install-feature-in-WIX--tf4201613.html#a11950496 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Installer fails while reading the function from DLL
Hi, I checked in the Project-Properties-Configuration Properties-C/C++-Code Generation - Runtime library is Multi-threaded(/MT) only. Is there anything else I should do in order to resolve this issue? The installer is working fine in windows xp and vista and the issue is only with windows server 2003. Thanks, Naresh Krishna Kumar. K John Hall-9 wrote: I created a Windows Installer DLL using Visual Studio C++. The installer is working fine in windows xp and vista. But when I run the installer which has custom action dll in windows 2003, it is not installing in windows server 2003. Is it known issue or does any body have idea this issue? Naresh, Are you linking to the runtime libraries statically or dynamically? It is much safer to link statically, i.e. use Multi-threaded (/MT) rather than Multi-threaded DLL (/MD). Regards, John - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- View this message in context: http://www.nabble.com/Installer-fails-while-reading-the-function-from-DLL-tf4151133.html#a11815927 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Installer fails while reading the function from DLL
Hi, I created a Windows Installer DLL using Visual Studio C++. The installer is working fine in windows xp and vista. But when I run the installer which has custom action dll in windows 2003, it is not installing in windows server 2003. Is it known issue or does any body have idea this issue? Thanks, Naresh Krishna Kumar. K -- View this message in context: http://www.nabble.com/Installer-fails-while-reading-the-function-from-DLL-tf4151133.html#a11808929 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Windows Installer - CustomAction DLL
Hi, I am creating a Custom Action DLL using VC++. My Custom Action DLL source code is given below: #pragma comment(lib, msi.lib) #include stdafx.h BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { return TRUE; } UINT MsiMessageBox(MSIHANDLE hInstall,TCHAR* pszMsg,DWORD dwOptions) { if( NULL==hInstall || NULL==pszMsg ) { return -1; } PMSIHANDLE hRec = MsiCreateRecord(2); MsiRecordSetString(hRec,0,pszMsg); UINT uiRet = MsiProcessMessage(hInstall,INSTALLMESSAGE(INSTALLMESSAGE_USER |dwOptions),hRec); return uiRet; } UINT __stdcall FirstAction(MSIHANDLE hInstall) { if(MsiMessageBox(hInstall, TEXT(Do you want to continue setup?), MB_OKCANCEL | MB_ICONEXCLAMATION) == IDOK) { ShellExecute (NULL,_T(open),_T(http://microsoft.com/downloads;),NULL,NULL,SW_SHOWNORMAL); } else { Exit the MSI. } return ERROR_SUCCESS; } The above code displays the message when installing the .msi file whether the user want to download any prerequisite software needed for the .msi file. If the user clicks Ok button, the code will take the user to the download page. If the user clicks cancel button, the code should exit the user from the msi installation. But the issue is even after clicking cancel button, the welcome dialog page comes up. Is there any methods or properties in Windows Installer which will exit the user from installing the .msi application. I have created a Binary element and Custom element and CustomAction element in the .wxs file. Thanks, Naresh Krishna Kumar. K -- View this message in context: http://www.nabble.com/Windows-Installer---CustomAction-DLL-tf4116549.html#a11706592 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to read Version information from the Registry.
Hi, I am trying to read the version information from the registry. Property Id=GPMC RegistrySearch Id=GPMCSearch Root=HKLM Key=SOFTWARE\Microsoft\MMC\SnapIns\{E12BBB5D-D59D-4E61-947A-301D25AE8C23} Name=Version Type=raw / /Property I dont have any attributes in RegistrySearch element to read the version information of the installed application. Is there any workaround in WIX? Thanks in advance. -- View this message in context: http://www.nabble.com/How-to-read-Version-information-from-the-Registry.-tf4116581.html#a11706696 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to read Version information from the Registry.
Hi, I am trying to read the version of GPMC in the Registry which is 1.0.2. I can check whether the GPMC is installed or not. But I want to read the version data from the registry since my tool will run in other operating systems and GPMC are in two different versions. Based on the version of GPMC, I will be installing some files while running the .msi file. Property Id=GPMC RegistrySearch Id=GPMCSearch Root=HKLM Key=SOFTWARE\Microsoft\MMC\SnapIns\{E12BBB5D-D59D-4E61-947A-301D25AE8C23} Name=Version Type=raw / /Property Bob Arnson-6 wrote: Naresh Krishna Kumar K wrote: Hi, I am trying to read the version information from the registry. Property Id=GPMC RegistrySearch Id=GPMCSearch Root=HKLM Key=SOFTWARE\Microsoft\MMC\SnapIns\{E12BBB5D-D59D-4E61-947A-301D25AE8C23} Name=Version Type=raw / /Property Does that not work? What value does MSI read from the registry? It's not clear what problem you're having. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- View this message in context: http://www.nabble.com/How-to-read-Version-information-from-the-Registry.-tf4116581.html#a11714117 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users