Error during Build

Got a problem you cannot solve? Try here.
Post Reply
Bo Andersen
Posts: 33
Joined: Mon Jul 16, 2007 5:07 am
Location: Denmark

Error during Build

Post by Bo Andersen »

Hi all,

Is this the active support forum? Not much going on here.

I have a strange issue with installaware NX.

Upgraded from IA9, I think and my setup project loads fine and looks fine, but building the project fails with

Code: Select all

...
Compressed setup files
Prepared SFX data
Error during build: Cannot open file "C:\Program Files\InstallAware\InstallAware NX\{F60F8A14-DD24-49E2-A0CF-1EECB8C3B3B3}". The system cannot find the file specified
Build failed
everything else works, and here is STRANGE issue - this does not happen every time. I can usually build ONCE after a reboot. Then I usually see this problem, but maybe it's successful if I try a third time

Happens both with the GUI and the MIABuild

Best regards

Bo

(the GUID changes each time)
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Error during Build

Post by FrancescoT »

Dear Bo,

It is very strange ... and seems that your project build tries to have access to a file that is not available.

Can you verify if exist some "Strange" compiler variable defined with your project?
Can you post the emitted compiler log generated when the problem occurs?

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
ajacques
Posts: 7
Joined: Sun Sep 23, 2012 5:39 am

Re: Error during Build

Post by ajacques »

I have exactly the same problem, I cannot get my build to work at all now.

Thanks
Andrew
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Error during Build

Post by FrancescoT »

Dear Guys,

fisrt try to verify as I suggested with my previous reply.

If the problem persist, try to replicate your issue with a minimal project and then eventually post your projects.

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
ajacques
Posts: 7
Joined: Sun Sep 23, 2012 5:39 am

Re: Error during Build

Post by ajacques »

Hi,

I have no dependencies and no file in my project now and it still errors:

Building Project: Your Salon System
Output Folder: C:\YourSalonSystem\Original Files\Release\SingleDeployment Type: Compressed Single Self Installing EXE
Code Signing: Disabled
Compression: Best
Compiler Variables: MSI_ALL=FALSE,CACHESOURCES=FALSE,BUILDMODE=SFX,LANGUAGE=English,"TITLE=Your Salon System",TARGETDIR=$TARGETDIR$,IADIR=C:\PROGRA~2\INSTAL~3\INSTAL~1,PROJDIR=c:\users\andrew\DOCUME~1\MYDOTN~1,IAVER=14.00
###
Cleared output folder C:\YourSalonSystem\Original Files\Release\SingleBuilt plug-in action (Un)Install MSI Setup
Created Windows Installer database
Built installation executable
Injected setup languages
Injected runtime files
Compressing install: componentstree.dfm (0%)
Compressing install: my dotnet setup.msi (6%)
Compressing install: my dotnet setup.exe (10%)
Compressing install: data\OFFLINE\mMSI.dll\mMSIExec.dll (76%)
Compressing install: mia.lib (80%)
Compressing install: my dotnet setup.res (91%)
Compressed setup files
Prepared SFX data
Error during build: Cannot open file "C:\Program Files (x86)\InstallAware\InstallAware 2012\{10915F51-E4CE-4070-B4E1-CF5449611A69}". The process cannot access the file because it is being used by another process


Thanks
Andrew
ajacques
Posts: 7
Joined: Sun Sep 23, 2012 5:39 am

Re: Error during Build

Post by ajacques »

Hi

I have been doing a lot of tests...

It happens with a brand new setup project, I select .Net Setup template but it tells me that that is not installed so is says it will make a Native setup. DOn't know what I need to install...

But still it used to work...

When you do nothing but set the build settings to Compressed Single self installing exe, you get this problem....

I am running version 8.19.12.

Thanks
Andrew
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Error during Build

Post by FrancescoT »

Dear Andrew,

I suspect that you have not installed all the InstallAware features.
Very probably, just running the IA installation in maintenance mode from Add Remove program, you should be able to add all the missed features.

can you check it?

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
ajacques
Posts: 7
Joined: Sun Sep 23, 2012 5:39 am

Re: Error during Build

Post by ajacques »

Hi,

Sorry to have wasted your time, but I finally downloaded and installed the entire system and it is working.

Thanks
Andrew
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Error during Build

Post by FrancescoT »

:D :D :D
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
Bo Andersen
Posts: 33
Joined: Mon Jul 16, 2007 5:07 am
Location: Denmark

Re: Error during Build

Post by Bo Andersen »

Hi guys,

My problem still persists, so I created a new project based on the IIS website creation sample

Only thing I did was to add an info.asp file
I use no runtimes.
I have reinstalled complete (except runtimes)

This time, it also compiled the first time, but not the 2nd or third.

The compiler output is
Building Project: Creating IIS Websites and Virtual Folders
Output Folder: C:\Documents and Settings\Administrator\My Documents\test IIS\Release\SingleDeployment Type: Compressed Single Self Installing EXE
Code Signing: Disabled
Compression: Best
Compiler Variables: BUILDMODE=SFX,LANGUAGE=English,"TITLE=Creating IIS Websites and Virtual Folders",TARGETDIR=$TARGETDIR$,IADIR=C:\PROGRA~1\INSTAL~2\INSTAL~2,PROJDIR=C:\DOCUME~1\ADMINI~1\MYDOCU~1\TESTII~1,IAVER=14.00
###
Cleared output folder C:\Documents and Settings\Administrator\My Documents\test IIS\Release\SingleBuilt plug-in action (Un)Install MSI Setup
Copied file C:\Inetpub\wwwroot\info.asp
Created Windows Installer database
Built installation executable
Injected setup languages
Injected runtime files
Compressing install: componentstree.dfm (0%)
Compressing install: data\test IIS.msi (0%)
Compressing install: test IIS.msi (5%)
Compressing install: test IIS.exe (9%)
Compressing install: data\OFFLINE\mMSI.dll\mMSIExec.dll (61%)
Compressing install: mia.lib (69%)
Compressing install: test IIS.res (81%)
Compressed setup files
Prepared SFX data
Error during build: Cannot open file "C:\Program Files\InstallAware\InstallAware NX\{0A7BE6C5-0C13-476D-93F1-9CE4DAF2DB61}". The system cannot find the file specified
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Error during Build

Post by FrancescoT »

Dear Bo Andersen,

have you tried to verify if your anti-virus is interfering with your build?

... are occurring some strange errors recently.

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
Post Reply