Is there a way to deploy a vsto Excel 2010 AddIn to a list of machines automatically? One thing I had considered was adding a reference to the .vsto file in a user startup script. Any other ideas though? Has anyone performed this sort of deployment before?
create a silent installer, and then copy and run from any batch script, it can be startup
Related
I created an addin with VSTO and a setup project with visual studio installer.
Im totally new on creating setups... and im getting something weird here (most likely a rookie problem).
I have what follows...
When i install, files get deployed into the folder, like below... and i suppose its the way it should be.
But when i try the addin, i get the following error, like if the manifest is pointing to a different path:
Then for the sake of testing i copied the manifest into the folder he seeks, like so:
And them, the add-in loads correctly...
Though I need some guidance with 2 scenarios:
where or how can i fix this pointing to that folder?
Is there a way to perform a delete on a specific registry key when program is uninstalled?
Please i have this important job to finish at my work and im burning nails...
Many thanks in advance for your time taken to read and help.
Before installing the add-in make sure it is unregistered (if you debugged the project previously there). Also make sure that your installer added Registry entries for VSTO Add-ins on the target machine that correspond to the actual location.
In general, make sure that you did all the steps describe in the following articles (depends on what installer you chose for deploying the add-in):
Deploy an Office solution by using Windows Installer
Deploying a VSTO Solution Using Windows Installer
Started a new project and copied all the code from the previous one... started working.
I cannot understand what witchery Visual Studio does some times.
I want to add post build event to sign some project outputs by my signer app - this is the simple console application with the one action inside.
I had added this in the Post-build event command line window
$(OutDir)\Tools\SignTool.exe $(TargetPath)
On this command Visual Studio (2015) create a temporary exe for some reason in temporary folder and try to run it. My company's security settings block it and I think they right but build has failed.
Can somebody help to explain how to prevent VS to do this odd action and just run the *.exe or how to change the temp folder for VS without changing the global environment temp?
Not sure, if you still need an answer on this. We had the same issue here in our company (with VS 2019). Every Pre- or Postbuild event in your project will be automatically packed into one Batch-file (*.cmd). VS creates this batch file in the global temp path. As far as I know, you can't change this temp folder only for Visual Studio.
What we have done was creating a group policy for developers to enable batch creation by Visual Studio 2019 in temp folder. Now we are able to sign our EXE with Postbuild event (as you mentioned), and we can debug / run our applications with Visual Studio, finally.
I am trying to make an installer for a PowerPoint Addin using Visual Studio Installer.
The installer installs each required files but does not execute the VSTO Deployment Manifest, and then my add-in is not included in PowerPoint.
I went to Custom Actions menu and wants to add the action of executing VSTO Deployment Manifest file but I have the following error: not a valid file type for a custom action (it seems to expect .exe .dll .vbs or .js files).
I have searched similar questions and found it but even if the error message is the same, I think the problem is different.
Do you know how to solve it and execute the VSTO Deployment Manifest file?
I have deployed a VSTO application by using ClickOnce and I got this:
This installer works real fine.
However, what I really want is one single installer, like a single .exe file or a single .msi file, so that it would be much convinenet to distribute.
I guess I have to pack all the dll, xml, vsto and exe into one single installer. Does anyone know how to do this?
Thanks in advance to anyone who has taken time to look at my problem!
Check this https://github.com/bovender/VstoAddinInstaller
A few years ago I wrote a few installers for VSTO projects via Inno Setup. There are also other players like (all paid) Advanced Installer, InstallShield and probably many others.
There is also VS installer but I've never used it (but still should be possible)
I am currently working on a SharePoint site, I am trying to optimize my workflow. I work on the front-end, and I really don't like using Visual Studio 2010 as it is very slow. I prefer Sublime Text for doing my front-end work, as this is the editor i normally use.
I use Grunt.js to automate build SCSS and JS files, it's triggered via a Visual Studio 2010 Pre-Build Event. This works fine for the build process but not so well for my development process.
The Pre-Build Event copies my /_layout/ folder to the servers /_layout/ folder. The problem is with user-controls ect, these are not in identical folders, they might be in one folder on the project and another one when deployed.
I can edit my files in Sublime Text, but I then have to go into Visual Studio 2010 and Quick Deploy using the CKS-Dev addon. It would be nice if I could run a command in CMD that would trigger a quick deploy.
Do you have any solutions to this? Or any knowledge that would leverage my workflow?