Re: [WiX-users] Passing RegSearch Value to Custom Action (Deferred) during Uninstall
Same way you'd pass any property to a deferred custom action. On Mon, May 28, 2012 at 12:32 AM, Ravi Raj raviraj.callin...@gmail.comwrote: How to read a regsearch during uninstall process and pass it to deferred custom action? -- Thanks and Regards, Ravi Raj -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Passing RegSearch Value to Custom Action (Deferred) during Uninstall
I got the method and I am doing this (which is working perfectly): Property Id=INSTALL_PATH Secure=yes RegistrySearch Id=Install_Path Root=HKCU Key=Software\!(loc.CompanyName)\!(loc.ProductName) Name=InstallPath Type=raw //Property CustomAction Id=CA_SetProperty_INSTALLPATH Property=INSTALLPATH Value='[INSTALL_PATH]' /CustomAction Id=CA_SetCustomActionData Property=CA_GetCustomActionData Value='INSTALLMACHINE=[INSTALLPATH]' Execute='immediate' Return=check /CustomAction Id=CA_GetCustomActionData BinaryKey=BIN_CustomAction DllEntry=GetCustomActionData Execute=deferred Return=check / InstallUISequence Custom Action=CA_SetCustomActionData Before=CA_GetCustomActionDataNOT Installed/Custom Custom Action=CA_GetCustomActionData After=InstallInitializeNOT Installed AND NOT UPGRADINGPRODUCTCODE/Custom/InstallUISequence InstallExecuteSequence Custom Action=CA_SetCustomActionData Before=CA_GetCustomActionDataNOT Installed/Custom Custom Action=CA_GetCustomActionData After=InstallInitializeNOT Installed AND NOT UPGRADINGPRODUCTCODE/Custom/InstallExecuteSequence Just wanted to confirm, is there any other way to achieve the same? -- Thanks and Regards, Ravi Raj -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users