spences10 / VBA-IDE-Code-Export

Export & Import VBA code for use with Git (or any VCS)
MIT License
119 stars 34 forks source link

Installer #80

Closed mattpalermo closed 7 years ago

mattpalermo commented 7 years ago

I have used the Inno setup scripts found at https://github.com/bovender/ExcelAddinInstaller to create a setup exe. I have attached a prebuilt installer exe as a demonstration of what is produced. CodeExport_setup_0.2.0.exe.zip

When I installed it on my own computer I did not have to use admin privileges. @spences10, could you double check that it will install in a 'corporate' environment?

It seems however that admin privileges are requires to run the uninstaller. But I don't think this is too much of an issue...?

I have created documentation for creating (compiling) the installer. I also updated the release instructions for when we can create a new release with a fancy, wiz-bang installer :)

I am going to check with https://github.com/bovender that our use of his script compiles with the license he has used (GPL-v3).

mattpalermo commented 7 years ago

Implements #28

spences10 commented 7 years ago

I'll give it a :+1: for the installer on a locked down machine, i was also able to use the uninstall feature and kept the actual add-in

mattpalermo commented 7 years ago

Fantastic! I didn't expect the uninstall to work. I'm not sure what you mean by you 'kept the actual addin'.

spences10 commented 7 years ago

the add-in was still in excel, mind i had excel open and there was a warning saying that not all components could be removed, so probably bc I had it open still??

mattpalermo commented 7 years ago

Seems like a reasonable assumption

emeraldjava commented 7 years ago

Hi, Are there any guideline on how i can verify that the Installation of the CodeExport_0.3.0.exe has been successful. It would be great if the README.md was updated with some extra post-install verification steps. In my case, I didn't get promted for any interaction when the installer ran. Regards, Pauk

spences10 commented 7 years ago

Great question @emeraldjava I think @mattpalermo gave me some guidance when I did it,I mean the easiest check I can think of is to check your Excel

Either pop open the developer tools and look for the Export for VCS should show in the IDE menus or if you have it enabled check your Excel developer tab and there should be a section for it at the end of the tab

mattpalermo commented 7 years ago

Hi @emeraldjava. The add-in will simply be copied into the user's add in folder and I think it will enable the add-in for you in Excel (it has been a while since I have used it myself). Next time Excel starts you will be able to use the add-in as described in the README. If you cannot use the add-in as described in the README then something has gone wrong.

If you have an idea on how this can be expressed in the README such that others don't have the same confusion then perhaps you might want to send in a pull request or open an issue.