We are facing a problem with the Visual Studio Addin for creating Setup files in VS2013. Becuase of this problem we are not able to Change the Prerequisites for the Target framework when we has compiled the setup once. Even when we completely disable the Prerequisites, the Prerequisites that are used at the first compile, are validated on start.
To Verify this problem as a problem of the Addin, i would like to check the Prerequisites of the created MSI file. How is that possible?
Regards
Related
I am using Installshield 2015 with Visual Studio 2013. I created a setup.exe for my application. In order to start my application, user needs to run SpeechPlatformRuntime_x86.msi or SpeechPlatformRuntime_x64.msi.
How can I add these msi file into my project so after installation finishes, it automatically run msi file?
These sound like they provide dependencies. Since you deliver a .exe file, I would suggest creating a prerequisite and including it in your project. This will result in them being installed first, and your main .msi (or InstallScript) project contents will follow.
(If you delivered only a .msi file, you would probably have to document your dependency. You could look into the Chained .MSI Packages support, but it's not really that well suited for handling dependencies.)
I have a bunch of programs set up as prerequisites in the VS bootstrapper. Recently, everytime I build on my machine and try to run setup.exe, I get an error ".....msi has either changed or been corrupted since the package was originally published". I know this isn't a problem with the setup or the msi files because I done the exact same thing on another development machine and copied the output to my machine and it's worked. I figure it must be something within the visual studio - bootstrapper connection. Anybody have any ideas?
Have you tried checking the log file ActivityLog.xml. It's under AppData\Roaming\Microsoft\VisualStudio\10.0
You need to run Visual Studio this way "Devenv /log"
According to the question Bundling only part of the prerequisites with ClickOnce a ClickOnce installer can either download ALL prerequisites from the web or expects ALL of the files locally. This seems to be the same for a Visual Studio 2008 deployment project.
As I would also prefer to include only selected prerequisites in an installer archive I was wondering if this is really still state of the art. Will upgrading to Visual Studio 2010 solve this issue or is there any workaround that I overlooked?
So here's an idea that I came up with.
Package the bootstrap installer with all prerequisites except the
.NET framework with "Download prerequisites from the component
vendor's web site" set
Create a small program (batch file or
executable) that is launched instead of the bootstrap installer which
does the following
Check if .NET framework is installed (the bootstrap package files tell you how to check this, e.g. .NET framework is installed if
HKLM\Software\Microsoft\NET Framework Setup\NDP\v3.5\1033\Install ==
1)
If yes execute setup.exe -homesite=false which configures the installer not to download any files
Execute setup.exe
Comments welcome!
You can package the prerequisite and set a download URL and put the prerequisite there. Then when the prerequisite is installed by the bootstrapper, it will download it from the URL instead of having to include it in the deployment package. This means, of course, that you have to set up your own bootstrapper package every time you want to do this, but it does work.
I need to include a runtime as part of a project installer.
I was having trouble including it, as an error saying "an installation is already in progress" was appearing, due to the fact that I was essentially trying run an msi from within an msi.
I managed to get over this by including it in the "OnAfterInstall" event, however it appears now that it is not being installed on upgrades, only on fresh installs.
Can anyone offer any advice?
Thanks
You don't specify what version of the Visual C++ Runtime, but this may work:
Visual Studio Installer Projects provide a prerequisites setting which is pre-populated with a list of common components. These are .mst files, so they can be merged into your installer. To reach the prerequisites screen, right-click your installer project -> Properties -> Prerequisites. Check the appropriate box in the list and change the option at the bottom to include the prerequisite in the setup program.
apparently you should add it as a "merge module" in your MSI http://blogs.msdn.com/b/vcblog/archive/2007/10/12/how-to-redistribute-the-visual-c-libraries-with-your-application.aspx
I have a setup project that I need to install a redistributable that is not available in the default prerequisite list. Is it possible to add this redistributable to the bootstrapper that the setup project creates?
I figured out how to add Custom Prerequisites to the Visual Studio prerequisites dialog box.
MSDN as a good article on creating the prerequisite.
Basically you just have to create a product manifest and a package manifest, copy them along with your distributable file to : \Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages. Visual studio will automatically pick it up.
Take a look at Bootstrapper Manifest Generator tool (BMG) at http://code.msdn.microsoft.com/bmg
It is used for creating Bootstrapper packages and automatically adding them to Visual Studio's Prerequisites dialog box.
Edit: BMG can be downloaded from https://www.softpedia.com/get/Programming/Other-Programming-Files/Bootstrapper-Manifest-Generator.shtml now since the tool is deprecated apparently and is no longer located on Microsoft servers.
This can be solved by creating Custom bootstrapper package.Following link provides creation of it with a sample example
http://msdn.microsoft.com/en-us/library/ee726596.aspx