electro-smith / DaisyToolchain

Static Toolchain for the Daisy ecosystem
8 stars 7 forks source link

Daisy Toolchain Installers #13

Open beserge opened 3 years ago

beserge commented 3 years ago

Working on getting the Windows NSIS installer working. We can use the DragNDrop generator for creating a macOS diskimg type installer as well.

andrewikenberry commented 3 years ago
beserge commented 3 years ago

make issue:

Cannot find file at '..\\lib\make\tools\install\bin\make.exe'
(C:\Program Files\DaisyToolchain\lib\make\tools\install\bin\make.exe). 
This usually indicates a missing or moved file.
beserge commented 3 years ago

I've made add PATH to current user the default option. I've also figured out how to get total control back over the NSIS files, so I basically have total power now. Meaning, if I can figure out how NSIS works, I can put anything in, take anything out of the installer that we want.

I'm going to go about removing the start menu folder page next as Shens requested.

As for the Windows protected your PC stuff, I've been unable to recreate it so far. I know it's caused by a particular Windows defender setting, but my PC doesn't seem to take issue with the installer. Perhaps because I'm the one who built it. 🤷 @stephenhensley did you have that popup when running the installer? Do you have that popup when installing other programs?

stephenhensley commented 3 years ago

. . . so I basically have total power now. - Ben, 2021

@beserge @andrewikenberry I did have the same "protect my pc" stuff. I think we have to "code sign" the exe to make it so it doesn't throw that flag when launched on a PC that didn't build it.

Not exactly sure how to do it, but I imagine the mechanism is built-in to CPack. However, I imagine we'll have to get a certificate generated from msft/apple in some form or another for it to work.

beserge commented 3 years ago

Final note for now: We've given up on the mac branch of this project for now. There's some work on various aspects of that on the mac_installerbranch for safe keeping.

The Windows installer is however ready to rock! 🎸