wix3.11

Other installation In Progress Hanging my Wix Install

怎甘沉沦 提交于 2019-11-29 15:59:55
I am creating a WIX installer bootstrapper (with DisplayInternalUI="yes" on the msipackage), but it hangs when there are other installations occurring at the same time. If i run the MSI file on its own using msiexec I get a windows installer error "Another installation is in progress" message (i.e 1500 MSI error message) - and I presume this is hanging my install. Therefore what I am doing is seeing if I can lock the _MSIExecute mutex just after the user presses the Install button (i.e. before the ProgressDlg ). If I can lock the Mutex then there are no other installs in progress - therefore

Wix Custom Action - session empty and error on deferred action

被刻印的时光 ゝ 提交于 2019-11-28 02:22:43
I am using Wix 3.11.1 with VS2017 Extension. I set a property from a control on a custom Dialogue and then try to execute an immediate custom action. When I try to read the session, it is always empty. As recommended I changed my action to differed execution and used an immediate action to set my property. When I run my installer I get the error: "DEBUG: Error 2896: Executing action [ActionName] failed." In CustomDialog.wxs <Control Id="ConnId" Type="Edit" X="60" Y="110" Height="17" Width="300" Property="CONN"/> <Control Id="installButton" Type="PushButton" Text="Continue" Height="15" Width=

Wix toolset license agreement multi-languages issue

二次信任 提交于 2019-11-27 15:53:25
I have created license.rtf file which has multiple languages and when I try to build my wix project it shows me this error : A string was provided with characters that are not available in the specified database code page '1252'. Either change these characters to ones that exist in the database's code page, or update the database's code page by modifying one of the following attributes: Product/@Codepage, Module/@Codepage, Patch/@Codepage, PatchCreation/@Codepage, or WixLocalization/@Codepage. I have tried to add this attribute Codepage="1256" on Product tag it still showing the same error.

Wix Custom Action - session empty and error on deferred action

妖精的绣舞 提交于 2019-11-27 04:53:20
问题 I am using Wix 3.11.1 with VS2017 Extension. I set a property from a control on a custom Dialogue and then try to execute an immediate custom action. When I try to read the session, it is always empty. As recommended I changed my action to differed execution and used an immediate action to set my property. When I run my installer I get the error: "DEBUG: Error 2896: Executing action [ActionName] failed." In CustomDialog.wxs <Control Id="ConnId" Type="Edit" X="60" Y="110" Height="17" Width=