Support
Wiki Documentation
Support Forum
Mobile
- Rocweb Browser
- WIO-Control ESP32
- andRoc Android
- Rocview Tablet
DIY
User
Wiki writer
Legal
Support
Wiki Documentation
Support Forum
Mobile
DIY
User
Wiki writer
Legal
How to create a Windows setup executable.
The only extra tool needed to create a setup is Inno Setup. You can download the setup tool on Jordan Russell's website: http://www.jrsoftware.org/ If you are planning to cross compile you must also install Wine to be able to start the Inno Setup program.
You can choose from one of the build processes best suited for you:
To reduce the size of the setup you best strip the binaries first: Windows build:
cd Rocrail\winbin strip *.dll strip *.exe
Cross build:
cd Rocrail/winbin i586-mingw32msvc-strip *.dll i586-mingw32msvc-strip *.exe
Copy mingw10.dll to the winbin directory.
You most likely have a shortcut on your desktop to start Inno Setup.
After startup: Open an existing script: Rocrail/rocrail/package/rocrail.iss
The Inno Setup program shows you the script text in it's main window:
; -- rocrail.iss -- [Setup] AppName=Rocrail AppVerName=Rocrail 0.11.0 snapshot-svnxxxx-unicode DefaultDirName={pf}\Rocrail DefaultGroupName=Rocrail UninstallDisplayIcon={app}\rocgui.exe Compression=lzma SolidCompression=yes DirExistsWarning=auto OutputDir=. AppCopyright=GNU AppPublisher=rocrail.net AppPublisherURL=http://www.rocrail.net/ OutputBaseFilename=rocrail-0.11.0-snapshot-svnxxxx-unicode
Choose from the main menu Build→Compile.
The new created setup is stored in the Rocrail/rocrail/package directory. Example output filename:
rocrail-0.11.0-snapshot-svn1482-unicode.exe