windows-installer icon indicating copy to clipboard operation
windows-installer copied to clipboard

loadingGif takes a few seconds to show during installation. Can we make it show immediately?

Open GitMurf opened this issue 2 years ago • 2 comments

I know this has been discussed in the past but I am curious if windows-installer has/can provide a customization to make the loadingGif show immediately? I have gotten reports that some of my users click the installer several times because they don't think anything is happening. On my Windows system which is pretty beefy I notice the same issue... it takes a few seconds to show the installer Gif and I always wonder whether I properly double clicked my setup.exe or not.

I see here that electron-builder removed the delay in a fork of squirrel: https://github.com/electron-userland/electron-builder/issues/374#issuecomment-221329649

I am wondering if this is something windows-installer would consider? Thanks!

Also see here: https://github.com/Squirrel/Squirrel.Windows/issues/77

GitMurf avatar Jan 09 '23 19:01 GitMurf

Or alternatively (which I am fine with implementing) is there any "hook" that I could tap into with the squirrel install process that emits immediately so that I could show my own installer splash screen / GIF and then a hook when it is done so I can hide it? Then I can disable the loadingGif all together and just use my custom splash screen that will show immediately after the user double clicks my setup.exe. Is this possible?

GitMurf avatar Jan 09 '23 20:01 GitMurf

Or alternatively (which I am fine with implementing) is there any "hook" that I could tap into with the squirrel install process that emits immediately so that I could show my own installer splash screen / GIF and then a hook when it is done so I can hide it? Then I can disable the loadingGif all together and just use my custom splash screen that will show immediately after the user double clicks my setup.exe. Is this possible?

Although now that I think about this, my plan to show this custom splash screen would be HTML / browser window which I guess wouldn't be available to me yet because Electron isn't installed yet! 🤔 So maybe this isn't an option?

GitMurf avatar Jan 09 '23 20:01 GitMurf