Message-ID: From: "cubt85iz (@cubt85iz)" To: "postgresql-interfaces/psqlodbc" Date: Mon, 30 Sep 2024 15:24:27 +0000 Subject: Re: [postgresql-interfaces/psqlodbc] issue #49: X64 merge module installer fails In-Reply-To: References: List-Id: X-GitHub-Author-Login: cubt85iz X-GitHub-Comment-Id: 2383516835 X-GitHub-Comment-Type: issue_comment X-GitHub-Edited-At: 2024-09-30T16:11:10Z X-GitHub-Issue: 49 X-GitHub-Repo: postgresql-interfaces/psqlodbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/postgresql-interfaces/psqlodbc/issues/49#issuecomment-2383516835 Content-Type: text/plain; charset=utf-8 __Side note__: Attempting to install the MSI as part of a burn bundle fails as well. It appears as though WiX may be supplying a value for `REINSTALLMODE` and that causes the following condition to be triggered: https://github.com/postgresql-interfaces/psqlodbc/blob/ab76a10c4d98567f4d0827f659304da8377ddc2f/installer/psqlodbc_cpu.wxs#L155 It doesn't appear that I can override the value provided for `REINSTALLMODE` either. ``` The 'REINSTALLMODE' MsiProperty is controlled by the bootstrapper and cannot be authored. (Illegal properties are: 'ACTION', 'ADDLOCAL', 'ADDSOURCE', 'ADDDEFAULT', 'ADVERTISE', 'ALLUSERS', 'REBOOT', 'REINSTALL', 'REINSTALLMODE', or 'REMOVE'.) Remove the MsiProperty element. ``` Burn bundle install log: ``` MSI (s) (E4:6C) [07:19:16:587]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'C:\Users\phoffman\AppData\Local\Temp\PostgreSQLForRTSO_20240930071822_001_psqlodbc_x64.msi.log'. MSI (s) (E4:6C) [07:19:16:587]: Command Line: ARPSYSTEMCOMPONENT=1 MSIFASTINSTALL=7 BURNMSIINSTALL=1 REINSTALLMODE=muso REBOOT=ReallySuppress CURRENTDIRECTORY=C:\Users\phoffman\Documents CLIENTUILEVEL=3 MSICLIENTUSESEXTERNALUI=1 CLIENTPROCESSID=5604 ``` Pretty easy to reproduce outside of creating a burn bundle if you just pass the property to an msiexec command. ![image](https://github.com/user-attachments/assets/14451421-96cb-48da-b1ce-4b412f9244bd)