I am using x4 studio and converted two installshield project recently. One is the 32bit version of an application and the other is for the 64bit version. The 32bit version work without problem and the 64bit version builds fine on my dev machine(Windows 7) but when I try to run it on a build machine (Windows server 2008) I get the error "Error during build: Unable to merge Windows Installer database with module Microsoft_VC100_CRT_x64" If I remove that merge module it errors on the next 64bit merge module. removing all of them and adding all of them again doesn't fix the error. on the build machine installaware is installed in the default location but the project is on the F:\ drive instead of the C:\. Also every time I remove and then add merge modules again I get the error "Error during build: Unable to initialize MSI database, recommend IDE restart (or verify build folder permissions)" until I re-open installaware.
- the project on the build and dev machine are the same (both pulled from svn)
- install type is single file
- error shows up in the IDE and command line runs
64bit merge modules errors
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: 64bit merge modules errors
Dear Sol952,
when installing 64 bit merge modules, you need to swith the installer engine to 64 bit as well. By default the engine uses the 32 bit mode.
So you should add the following code snippet at the very beginning of your main script.
Hope this helps you.
Regards
when installing 64 bit merge modules, you need to swith the installer engine to 64 bit as well. By default the engine uses the 32 bit mode.
So you should add the following code snippet at the very beginning of your main script.
Code: Select all
~InstallAware Clipboard Data~
~End~
~{B43B3E5A-4AF7-4F08-9242-748EE1F934BF}~
~Terminate Install~
~{3A475865-D427-4029-B378-A88B426C7A02}~
~MessageBox~
~{2E752878-E31F-45F8-A7DC-82B6F606C878}~
~$TITLE$ Setup Debug~
~This package requires a x64 OS!$NEWLINE$$NEWLINE$The setup can not continue.~
~0~
~1~
~~
~Else~
~{D943D2CC-7253-4196-8CCF-EFAB073CD267}~
~Set 64 Bit Mode~
~{424B0BA6-3E25-400C-87C1-2F70C730B836}~
~FALSE~
~FALSE~
~TRUE~
~If~
~{64751E9A-9FAC-4331-8D5C-FAE222314866}~
~ISWIN64~
~0~
~TRUE~
~FALSE~
~Get System Settings~
~{10A5EBC4-86B6-426C-863F-4F727A67FE2F}~
~ISWIN64~
~65~
~Set Variable~
~{366AC950-8D49-4C6C-96FC-9A1E32FBE4E3}~
~ISWIN64$MYAH$MYAH$FALSE~
~FALSE~
Code: Select all
Set Variable ISWIN64 to FALSE
Get System Setting Windows in 64 bit Mode into ISWIN64
if Variable ISWIN64 Equals TRUE
Set x64 - Native 64 bit Windows, AMD64 and EM64T Architectures - installation mode
else
MessageBox: $TITLE$ Setup Debug, This package requires a x64 OS!$NEWLINE$$NEWLINE$The setup can not continue.
Terminate Installation
end
Hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: 64bit merge modules errors
Thank you for the quick response. I have added your code from above to the beginning of my main script but am still getting the same error. both computers are 64bit.
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: 64bit merge modules errors
Dear Sol952,
honestly, I am not able to replicate the same. For what I see 64 bit merge modules get installed correctly.
Can you please send me a very minimal project that replicates the issue?
You can send it to; support@installaware.com
Are you sure you are not switching back to 32 bit mode somewhere in your code?
This in case you are also installing 32 bit components with the same installer.
If these the case, you should create a separate x64 installer to install the 64 bit module.
Regards
honestly, I am not able to replicate the same. For what I see 64 bit merge modules get installed correctly.
Can you please send me a very minimal project that replicates the issue?
You can send it to; support@installaware.com
Are you sure you are not switching back to 32 bit mode somewhere in your code?
This in case you are also installing 32 bit components with the same installer.
If these the case, you should create a separate x64 installer to install the 64 bit module.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: 64bit merge modules errors
I was making a minimal project to send and every time I was removing parts I tried to build. I still got the error when only the merge modules were left. I made a new project to make sure and it still gave me the error. After uninstalling and installing again it works. I don't know if installing visual studio 2015 after it messed up some pathing but everything is working now. Thank you
Who is online
Users browsing this forum: No registered users and 237 guests