Visual Studio and Autoscript generation
Posted: Thu Jan 28, 2016 7:24 am
Hello, I'm using a licensed Installaware 18 Studio, but the Problem also appears in X3.
I'm using Visual Studio 2013.
Following Problem:
I've created a small Project containing of an exe and assembly.
Both compile into $SOLUTIONDIR\bin\$CONFIGURATION.
I get the following output from the IA VS Plugin:
In IA 18 the Setup ends with error code 2721.
Workaround:
So far, so assembly->file problem...
Now, if I have a larger project, InstallAutogen.mia handles the files.
That means for me, I've no possibility to remove the assemblies and readd them as file, because the autogen.mia will always be overridden when I hit "Build Setup".
So I would need the following:
1. The automatic removing of assembly paths, which are already added.
2. The possibility to remove the scanned assemblies (inside of visual studio) and readd them as files.
Any Ideas?
I'm using Visual Studio 2013.
Following Problem:
I've created a small Project containing of an exe and assembly.
Both compile into $SOLUTIONDIR\bin\$CONFIGURATION.
I get the following output from the IA VS Plugin:
Code: Select all
Building Project: SetupProject
Output Folder: D:\SetupProject2\InstallAware\Release\UncompressedDeployment Type: Uncompressed Directory Layout
Code Signing: Disabled
Compression: Best
Compiler Variables: UAC=highestAvailable,BUILDMODE=CD,LANGUAGE=English,TITLE=SetupProject,TARGETDIR=$TARGETDIR$,IADIR=C:\PROGRA~2\INSTAL~1\INSTAL~1,PROJDIR=D:\SETUPP~1\INSTAL~1,IAVER=18.07
###
Cleared output folder D:\SetupProject2\InstallAware\Release\UncompressedBuilt plug-in action Windows Installer
Built plug-in action (Un)Install MSI Setup
Built plug-in action Windows Installer
Built plug-in action File Bag
Built plug-in action (Un)Install MSI Setup
Built plug-in action File Bag
Built plug-in action (Un)Install MSI Setup
Copied file D:\SetupProject2\bin\Debug\SetupProject.Launcher.exe
Error during build: Unable to compile MSI action install assembly
In IA 18 the Setup ends with error code 2721.
Workaround:
In IA under Project -> Setup-Architecture -> Assemblies
It lists two assemblies:
D:\SetupProject2\src\SetupProject.Contracts\..\..\bin\Debug\SetupProject.Contracts.dll
D:\SetupProject2\bin\Debug\SetupProject.Contracts.dll
Why I get two entries? The first is equal to the second.
Doesn't matter if I remove the first or the second, I still get the "Error during build: Unable to compile MSI action install assembly" failure.
If I remove both and add the file "D:\SetupProject2\bin\Debug\SetupProject.Contracts.dll" to Project -> Setup-Architecture -> Files -> $TargetDir$ the setup build runs.
So far, so assembly->file problem...
Now, if I have a larger project, InstallAutogen.mia handles the files.
That means for me, I've no possibility to remove the assemblies and readd them as file, because the autogen.mia will always be overridden when I hit "Build Setup".
So I would need the following:
1. The automatic removing of assembly paths, which are already added.
2. The possibility to remove the scanned assemblies (inside of visual studio) and readd them as files.
Any Ideas?