Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Add-in installer #28

Closed
mattpalermo opened this issue Jan 21, 2017 · 6 comments
Closed

Add-in installer #28

mattpalermo opened this issue Jan 21, 2017 · 6 comments
Assignees

Comments

@mattpalermo
Copy link
Collaborator

An automated installer for the add-in would really help those who are too lazy to install their add-in 😊 .
Issue #27 may be a good first step before achieving this.

From my experience with setting up an installer for EffOff it can be a bit of a headache. The Inno installer or the WiX installer may provide good solutions for this. The NSIS installer scripts seem very verbose, but it seems to be popular on alternativeTo.net.

Or is there a better way to distribute excel add-ins?

@spences10
Copy link
Owner

Chocolatey 😎

Let me have a play around with this today, see if I can come up with something

@mattpalermo mattpalermo added this to the v0.1.1 milestone Feb 21, 2017
@mattpalermo
Copy link
Collaborator Author

Notes from the other day:
When trying to get EffOff to install on @spences10's work machine, the WiX installer failed at the task. The Inno installer managed perfectly.

@spences10
Copy link
Owner

spences10 commented Feb 21, 2017

I tried on another machine with the effoff VBA-IDE-Code-Export.xlsm command and got the following output

Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: path
   at System.IO.File.ReadAllText(String path)
   at effoff.effoff.Main(String[] args) in C:\Users\Matthew Palermo\dev\effoff\effoff.cs:line 51

@mattpalermo
Copy link
Collaborator Author

@spences10 this is simply a bug with EffOff. It has to do with the fact that it wants there to be a "CustomUI" property in the CodeExport.config.json file.

@spences10
Copy link
Owner

Just fyi I found this: https://github.com/rubberduck203/VBEX/blob/master/Make.ps1

Again, there's some assumptions here #1 being that you should be admin on your machine to run it, this isn't an option for some users.

I'm not saying CodeExport is a breeze to set up but the instructions are such that you are walked through setup. If the PowerShell script fails for this you are left to pick through the ps1 script for the references.

@mattpalermo
Copy link
Collaborator Author

Nice find! This seems like a good example of using development scripts for VBA.

I'm not sure about using a ps script for end user installation. An installer exe seems much more user friendly.

@mattpalermo mattpalermo removed this from the v0.1.1 milestone Mar 3, 2017
@mattpalermo mattpalermo self-assigned this Apr 4, 2017
@mattpalermo mattpalermo mentioned this issue Apr 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants