Page 1 of 1

Error during build: Unable to open MSI template

Posted: Thu Jan 09, 2014 12:57 am
by ElJi
I have a sporadic problem with InstallAware Studio 15. I have got the error message "Error during build: Unable to open MSI template"

What could i do please?
================================================
My build protocol:

miabuild.exe utm-t.mpr CRYPT=NO TESTMODUS=NO
M M SSSSSS IIIIII
MM MM SS II
M M M M SSSSSS II InstallAware MSIcode Compiler (EsTrenc)
M M M SS II
M M SSSSSS IIIIII

Copyright(C) 1996-2013 InstallAware Software. All rights reserved.

Building Project: openUTM
Output Folder: C:\utmdev\utmx\install\Release\SingleDeployment Type: Compressed Single Self Installing EXE
Code Signing: Enabled
Compression: Best
Compiler Variables: CRYPT=NO,TESTMODUS=NO,MSI_ALL=TRUE,INSTALLAWARE_DRM_LAUNCHES=FALSE,INSTALLAWARE_DRM_DAYSRELATIVE=TRUE,INSTALLAWARE_DRM_D
AYSABSOLUTE=FALSE,INSTALLAWARE_DRM_DAYS=FALSE,INSTALLAWARE_DRM_YEAR=2013,INSTALLAWARE_DRM_MONTH=11,INSTALLAWARE_DRM_DAY=26,INSTALLAWARE_DRM_
EXPIREUSAGE=FALSE,INSTALLAWARE_DRM_EXPIREFIXED=FALSE,CACHESOURCES=TRUE,BUILDMODE=SFX,LANGUAGE=English,TITLE=openUTM,TARGETDIR=$TARGETDIR$,IA
DIR=C:\MyProgs\INSTAL~1,PROJDIR=C:\utmdev\utmx\install,IAVER=15.51
###
Cleared output folder C:\utmdev\utmx\install\Release\SingleBuilt plug-in action (Un)Install MSI Setup
Copied file C:\utmdev\utmx\applifile.port
Copied file C:\utmdev\utmx\msgdescription
Copied file C:\utmdev\utmx\src\convu\mtxtin
Copied file C:\utmdev\utmx\utmhostname
Copied file C:\utmdev\utmx\copy-cobol85\KCAABSTC
...
Copied file C:\utmdev\utmx\rc\utmconvt.def
Copied file C:\utmdev\utmx\rc\utmconvt.rc
Copied file C:\utmdev\utmx\rc\resource.h
Copied file C:\utmdev\utmx\include\kcsock.h
Built plug-in action Download File
Built plug-in action Download File
Built plug-in action Download File
Created Windows Installer database
Built installation executable
Injected setup languages
Code signing: C:\utmdev\utmx\install\Release\Single\utm-t.exe
Compressing destination.dfm
Compressing destination.dfm.miaf
Compressing finish.dfm
Compressing finish.dfm.miaf
Compressing maintenance.dfm
Compressing maintenance.dfm.miaf
Compressing prereq.dfm
Compressing prereq.dfm.miaf
Compressing progress.dfm
Compressing progress.dfm.miaf
Compressing progressprereq.dfm
Compressing readme.dfm
Compressing setuptype.dfm
Compressing setuptype.dfm.miaf
Compressing startinstallation.dfm
Compressing startinstallation.dfm.miaf
Compressing startmenu.dfm
Compressing startmenu.dfm.miaf
Compressing UI-permit-firewall-ports.dfm
Compressing welcome.dfm
Compressing wizard.dfm
Compressing mDownExec.dll
Compressing mMSIExec.dll
Injected runtime files
Compressing data\OFFLINE\BC023AFF\583FF622\CMCOBOL
Compressing data\OFFLINE\14AC0E2F\F1669BF3\CMCOBOL
Compressing data\OFFLINE\72320134\C17C03B8\CMCOBOL
...
Compressing data\OFFLINE\1B620E47\334DA495\COBUSER.cbl
Compressing data\OFFLINE\7967A84E\8593F72F\COBUSER.cbl
Compressing data\OFFLINE\39D4EDF\5BEE32E7\MAINUTMCOB.CBL
Compressing data\OFFLINE\72157830\BC78565\MAINUTMCOB.CBL
Compressing data\OFFLINE\70DB0F24\2293DE84\applifile.port
Compressing utm-t.res
Compressing data\OFFLINE\292B462E\EFF905C4\ref.tns
Compressing data\OFFLINE\292B462E\EFF905C4\utmdel.tns
Compressing data\OFFLINE\292B462E\EFF905C4\utmgen.tns
Compressed setup files
Prepared SFX data
Created SFX file
Cleaned up
Code signing: C:\utmdev\utmx\install\Release\Single\utm-t.exe
Producing MSI output...
Error during build: Unable to open MSI template

Build failed

Re: Error during build: Unable to open MSI template

Posted: Thu Jan 09, 2014 12:40 pm
by FrancescoT
Dear User,

due the sporadic occurrences you seem to have, have you checked if it is not caused by your Anti Virus (if any)?

Regards

Re: Error during build: Unable to open MSI template

Posted: Fri Jan 10, 2014 12:13 am
by ElJi
Hi,

thank you for your support. I will check that in the company. What does "Unable to open MSI template" mean? Is there any workaround?

Regards

El Ji

Re: Error during build: Unable to open MSI template

Posted: Fri Jan 10, 2014 11:23 am
by FrancescoT
Dear El Ji,

it simply means that for some reason the build process is not able to open the generated MSI database file.

... for example; it "could" happen that the file is not anymore under the expected location because it has been deleted ... or altered.

Regards

Re: Error during build: Unable to open MSI template

Posted: Mon Jan 13, 2014 3:52 am
by ElJi
Hi Francesco,

ich couldn't deactivate the antivirus software (rule of my company). It seems to be imposible to kill the Trend Micro Antivirus processes temporarly ... Is there any workarounds? Does "Flexera Software" implementate a solution to fix this problem? I think other companies just have the same problem ...

Regards

El Ji

Re: Error during build: Unable to open MSI template

Posted: Mon Jan 13, 2014 12:25 pm
by FrancescoT
... I had the same problem with Visual Studio so it is not an InstallAware exclusivity.

Regards

Re: Error during build: Unable to open MSI template

Posted: Tue Jan 14, 2014 1:12 am
by ElJi
Hi,

are there any settings/workarounds to avoid this problem?
It is very frustrating for us because we already spent a lot of money to purchase this product and a lot of time to migrate from WISE.

I hope to find a solution soon

Regards

El Ji

Re: Error during build: Unable to open MSI template

Posted: Tue Jan 14, 2014 11:33 am
by FrancescoT
Dear El Ji,

I am sorry for your frustration ... but if your problem it is caused by the AV doesn't exist a workaround, unless you remove it.
This is what I did!

Regards