For VS2013 Why not copy the Microsoft installer.zip (for vb in the 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\VisualBasic\General\1033' from vs 2010 and place it into the 2013 1033\general template area? That seems to work for me.
In win8.1 32bit -cannot compile x32 services application. when add two set of custom actions ( one for system\myDir1\service.exe , one for system\Mydir2\service.exe in the same project ) , no warn, no error. Running the setup the custom action of service1 is executed twice ( I put a msgbox to check this) raising the" Error service already present" ( obviously).
in win8.1 64bit -Cannot compile x64 service application. Add custom actions (service install) in system64\mypp\service.exe . No warn, no error. Running the setup I get the error file "service.exe" not found
So glad this came back. The only problem I found is that my msi wouldn't run on POSReady 2009 and Windows XP but I resolved this by following the advice from http://stackoverflow.com/questions/23978677/dirca-checkfx-return-value-3-vs-2013-deployment-project
Great to have this back. I finally could upgrade to VS2013 (we use setup projects a lot and are using it to create .msm files which is not supported by the Installshield included). We found one problem with it though: if we add the Project Output from an SQL CLR project Visual Studio seems to crash when building the setup.
I am trying to run the VSTO addin for Word from the Custom Action by invoking VB Script. The custom action is invoked and I am see the VSTO installer box. But once installed, I am not seeing the installed addin in Control Panel.
Also when I am trying to install the addin again manually, this time I am getting it installed correctly. Is there anything to be considered when using Custom Actions?
Thanks for any help.
Is there any workaroud to install an EXE from Custom Actions? The current behaviour is when running an EXE from Custom Actions not installing correctly and not showing up in Installed Programs of Control Panel.
There doesn't seem to be a way to auto uninstall old service and install new.
work around which should work but doesn't as the method name are miss leading.
private void serviceInstaller1_BeforeInstall(object sender, InstallEventArgs e)
//see if installed if so uninstall.
problem is that with no pri-install...
by time it hits serviceInstaller1_BeforeInstall it has already installed itself... from the
so it just install its current install.
you'll see what i mean when you try and solve....
Win service installer which is able to install never version if older version is present.
Please MS... release an updated version of this which fixes these common issues.
Although the Productcode is different, RemovePreviousVersions is true, Version is higher, file versions of DLLs are higher an upgrade installation seems to run through without any errors (in UI). But if you look in the installation folder then only a new DLL is placed there, all the others that should have been replaced are deleted. Registry settings are fine. A new installation is also fine. Has someone similar experiences? The setup properties are the same as in the installer we build with VS2008. There the upgrade installation worked.
This is also happening with our software. RemocvePreviousVersions=true installation executes OK with no errors.
1. the uninstall of the older product’s files runs OK
2. COM deregister of older product fails
3. Deployment of all files from the new setup package fails
4. COM registration of new product is OK (although points to a non-existent file and is a duplicate)
Setting RemoveProviousVersions=false completes the install OK - old files are overwritten and our software runs OK. Both old and new versions are displayed in "Programs and Features" list - as you'd expect I suppose.
Has anybody come up with a workaround?
The problem seems still not to be solved.
We got the same behavior: after an update installation the files in the installation path disappears.
Only if I use the repair function the files in the installation path are correctly restored and the application can be executed.
The Hotfix (https://support.microsoft.com/en-us/kb/2418919) seems to solve the problem if the setupproject was converted from VS2008 to VS2010 (or higher) but with any further updateinstallation the files in the installation path still disappears.
Has anybody come up with a workaround or when will this problem be solved?
I am creating VSTO application using VS 2013 and Office 2013.
I am building both 64 bit and 32 bit version of MSI from command line. When doing so, 64 bit installer is created correctly. After that, I am changing the TargetPlatform and DefaultLocation to point to 32 bit configuration using build.xml of ANT tool. But when taking build, it still creating the 64 bit installer.
When running the Build from VS, 32 bit installer is getting created. Please let me know if there is any changes to be done to achieve this.
Any help is greatly appreciated.
Marking the type of the "App.config" file as content, and adding to the CAB setup project the content files will add the file "App.config" to the CAB file. However, "App.config" is renamed by the build process to the name of the exe e.g. "myexe.exe.config", and it is this renamed file that is required at run time by the application. How do I add this to the CAB file (without using a hard coded file path, which is different for different people working on the project)?
One solution would be to allow the use of macros, in the same way that the pre and post build commands do. For example, I would like to add the renamed "app.config" file to the CAB project with this dynamic path using the same macros: "$(OutDir)$(TargetFileName).config"
It seems that custom action actions that are added are executed as deferred. Is there a way to set a custom action's execution as immediate? I want to access and set a property in my custom action. I know I can get a property by passing it via CustomActionData.
I have VS 2008 2013 and 2015 installed, and when I install this addon, it runs without errors but installs nothing.
Have another PC with VS 2008 and VS 2013 where installation worked fine.
Do you know of a fix for this?
In win8.1 32bit
-cannot compile x32 services application.
when add two set of custom actions ( one for system\myDir1\service.exe , one for system\Mydir2\service.exe in the same project ) , no warn, no error.
Running the setup the custom action of service1 is executed twice ( I put a msgbox to check this) raising the" Error service already present" ( obviously).
in win8.1 64bit
-Cannot compile x64 service application.
Add custom actions (service install) in system64\mypp\service.exe . No warn, no error. Running the setup I get the error file "service.exe" not found