-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Greetings Derry,
Just wanted to drop you a message of high appreciation for your efforts to compile this perfect solution. I must admit that it is a heck of a slick solution! Thank you for publishing it.
I've spent a few days trying to use the RInno package as the only solution I could find to convert my Shiny App into a standalone app. Unfortunately, with all the trials of tweaking and manipulating the functions and parameters inside the package my efforts were all to no avail! RInno is cumbersome and buggy. But with your solution, I managed to compile my Shiny App effortlessly.
I'd like to mention that I made a couple minor changes in your procedure that I personally find adding value to the end App:
- The end app runs the cmd screen which must be open while the app is running. This might be annoying to the user and will stop the app if closed. So, I created a .vbs file (run_silent) which contains the following lines to open the run.bat file. The .vbs file is then referenced in the .iss MyAppExeName variable instead of the run.bat file.
Set WshShell = CreateObject("WScript.Shell") currentDir = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName) WshShell.Run """" & currentDir & "\run.bat""", 0, False
-
With the current procedure the installed app directories and files will be visible and easily accessible to the end user if s/he tries to look for them. Hence, to protect files from manipulation or viewing, especially those proprietary ones, I added "Encryption=yes" under .iss [Setup] and "Attribs: hidden system" under the .iss {Files]/Source. This makes the files obscured in the system directory. Though it is not the best security method, this is what I could find given my limited knowledge in this area.
-
Added a password prompt before installing the app to prevent installing the app by unintended users. This is achieved by adding "Password={#mystrongpassword}" in the [Setup] of the .iss file.
-
Added an icon to the app to be used in the setup and in the shortcut. Achieved by creating a .ico icon and referencing it in the [Files] and [Icos] sections of the .iss file.
Again, many thanks for making your user-friendly solution available.
Regards,
Mohammed Barakat