Knowledge Base

Search Our Knowlegde Base

Find your answers by searching below.

How do I create a customized Image Pusher executable for my environment that does not require the user to enter any information when launching?

Print article Email to friend
2.00

If you are unable to push a command to your clients with a Client Management tool, you can create a custom EXE wrapper around our Image Pusher EXE that will include your configuration information so users can simply double click without having to type anything.

Note: The EXE created from this process will contain your specific smartImager configuration, either IP Address or Cloud Authorization key. Once created, anyone will be able to run the EXE even without knowledge of your environment.

Pre-Reqs:

  • Install 7-Zip (MSI) - https://www.7-zip.org/download.html
  • Download the 7-Zip LZMA SDK and Extract It - https://www.7-zip.org/download.html
  • Download Image-Pusher from your smartImager web interface Console -> Tools
  • Gather either your smartImager IP address for on-prem imaging, or your Cloud Authorization key (Console -> System Settings -> Cloud Authorization)

Setup:

  1. Create a folder on your desktop, called whatever you'd like.
  2. In that folder place
    • the file Image Pusher the x64 or x86 Version (e.g. SI-ImagePusher-64.exe)
    • the file 7zSD.sfx from the LZMA\BIN folder to your custom folder
    • the file 7zr.exe from the LMZA\BINx64 folder to your customer folder
  3. Create a text file called config.txt using Notepad and place it in the same folder as step 1.
    • The content of the file listed at the bottom.
    • Note: Replace the 1.1.1.1 with your server IP address for on-prem imaging or your Cloud Authorization key for internet imaging.
  4. Create a text file called create.bat using Notepad and place it in the same folder as step 1.
    • The content of the file listed at the bottom

 

Create the custom EXE

  1. Double click the create.bat file
  2. You now have your Custom-ImagePusher.exe file

 

File content for config.txt

;!@Install@!UTF-8!
RunProgram="SI-ImagePusher-64.exe /drv_http:1.1.1.1 /drv_id:FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF /silent:true"
;!@InstallEnd@!

 

File content for create.bat

7zr a SI-ImagePusher-64.7z SI-ImagePusher-64.exe -mx -mf=BCJ2
copy /b 7zSD.sfx + config.txt + SI-ImagePusher-64.7z Custom-ImagePusher.exe

How do I create a customized Image Pusher executable for my environment that does not require the user to enter any information when launching?

If you are unable to push a command to your clients with a Client Management tool, you can create a custom EXE wrapper around our Image Pusher EXE that will include your configuration information so users can simply double click without having to type anything.

Note: The EXE created from this process will contain your specific smartImager configuration, either IP Address or Cloud Authorization key. Once created, anyone will be able to run the EXE even without knowledge of your environment.

Pre-Reqs:

  • Install 7-Zip (MSI) - https://www.7-zip.org/download.html
  • Download the 7-Zip LZMA SDK and Extract It - https://www.7-zip.org/download.html
  • Download Image-Pusher from your smartImager web interface Console -> Tools
  • Gather either your smartImager IP address for on-prem imaging, or your Cloud Authorization key (Console -> System Settings -> Cloud Authorization)

Setup:

  1. Create a folder on your desktop, called whatever you'd like.
  2. In that folder place
    • the file Image Pusher the x64 or x86 Version (e.g. SI-ImagePusher-64.exe)
    • the file 7zSD.sfx from the LZMA\BIN folder to your custom folder
    • the file 7zr.exe from the LMZA\BINx64 folder to your customer folder
  3. Create a text file called config.txt using Notepad and place it in the same folder as step 1.
    • The content of the file listed at the bottom.
    • Note: Replace the 1.1.1.1 with your server IP address for on-prem imaging or your Cloud Authorization key for internet imaging.
  4. Create a text file called create.bat using Notepad and place it in the same folder as step 1.
    • The content of the file listed at the bottom

 

Create the custom EXE

  1. Double click the create.bat file
  2. You now have your Custom-ImagePusher.exe file

 

File content for config.txt

;!@Install@!UTF-8!
RunProgram="SI-ImagePusher-64.exe /drv_http:1.1.1.1 /drv_id:FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF /silent:true"
;!@InstallEnd@!

 

File content for create.bat

7zr a SI-ImagePusher-64.7z SI-ImagePusher-64.exe -mx -mf=BCJ2
copy /b 7zSD.sfx + config.txt + SI-ImagePusher-64.7z Custom-ImagePusher.exe