Skip to content

VM93 currently used for packaging

Creating installation package for Optimus-Installation repo

New code to be updated into Optimus Enterprise Github

  • update version.py file e.g. 2.1.6 and description of updates
  • commit and sync changes directly to master branch of Optimus Enterprise Github
    Commit msg: 2.1.6 and short description
    image

Create packages using installation\packaging_tool scripts

  • Option 1 : manually using command line and batch scripts
    image image
    image
  • use minify scripts to secure code
    • full minified package with template folder structures for new install
    • D:\OptimusEnterprise\OptimusEnterprise>.\installation\package_tools\optimus_package_mini.bat
    • minified upgrade package
    • D:\OptimusEnterprise\OptimusEnterprise>.\installation\package_tools\optimus_package_mini_upgrade.bat
  • Option 2 : from launcher
  • Package code:
    Launch OPTIMUS RPA program in program directory. And select PACKAGE option. Run. image
    Generates optimus_package and optimus_package_upgrade (smaller version). Both minified.
    Move files to Optimus-Installation/installation/packages - overwriting previous package.
    Sync the files to Github. Commit msg like before: 2.1.6 and short description

Create a release in the Optimus-Installation repo

Add new release to Optimus-Installation:
Draft a new release
Create new tag e.g. 2.1.6
Copy paste from version annotation and preview
Add packages. And also include install.bat from Optimus-installation repo.

image

Upload the latest package files into the repo

Update optimus_package.zip and optimus_package_upgrade.zip
image
Update also install.bat if its been changed.
image

TODO: Create a Windows Installer with Inno Setup

Inno Setup or IExpress are tools that can be used to create a windows installer.
Typically, either tool allows to combine both the install.bat and optimus_package.zip into a windows installer setup.exe file.
Inno Setup has following added features over IExpress: - choice of installation directory - link to and acceptance of license before installation - link to readme after installation - additional installation tasks e.g. install python, playwright and other 3rd party tools - add shortcuts to program startup menu and desktop - allow download of packages from links - create uninstaller
image

Inno Setup
https://jrsoftware.org/isinfo.php