STP Viewer is a software tool for viewing international STEP standard files. STEP files (.stp) for 3D and assembly are often used by all major mechanical CAD systems. With STP Viewer you can easily open 3D files (.stp), rotate them and perform some basic actions like zoom, rotate, move or change skin. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of STP Viewer from the command line using the EXE installer.
How to Install STP Viewer Silently
STP Viewer Silent Install (EXE)
- Download the STP Viewer Installer
- Download the Inno Setup Unpacker
- Place both files in a folder created at (C:\Downloads)
- Extract the contents of the Inno Setup Unpacker (.rar file) with 7-Zip to C:\Downloads\innounp.exe
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command to unpack the STP Viewer Installer:
innounp.exe -x -m stviewersetup.exe
- Press Enter
- Navigate to the C:\Downloads\{app} folder
- Open the STPViewer.exe.config file with Notepad or your favorite text editor
- Change the “RePaintOnOpen” setting value from True to False:
</setting>
<setting name="RePaintOnOpen" serializeAs="String">
<value>False</value>
</setting>
- Save the updated STPViewer.exe.config file
- Download the Inno Setup Installer
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command to install Inno Setup:
innosetup-6.x.x.exe /VERYSILENT /NORESTART /ALLUSERS
- Press Enter
- Open the install_script.iss file located at C:\Downloads with Inno Setup
- Select Build & Compile (This will recompile the STP Viewer installer)
- Navigate to C:\Downloads\Output
- Enter the following command to install the STP Viewer:
stviewersetup.exe /VERYSILENT /NORESTART
- Press Enter
After a few moments you should see the STP Viewer Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | STP Viewer |
Vendor: | IdeaMK |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch: |
|
Silent Uninstall Switch (32-bit System) | "%ProgramFiles%\STPViewer\unins000.exe" /VERYSILENT /NORESTART |
Silent Uninstall Switch (64-bit System) | "%ProgramFiles(x86)%\STPViewer\unins000.exe" /VERYSILENT /NORESTART |
Download Link: | https://stpviewer.com/download/stviewersetup.exe |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download link provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Create an Installation Log File
The STP Viewer installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.
STP Viewer Silent Install (EXE) with Logging
stviewersetup.exe /VERYSILENT /NORESTART /LOG="%WINDIR%\Temp\STPViewer-Install.log" |
Change Default Installation Directory
You can also change the default installation directory by using the following command line parameters. In this example, I’m installing STP Viewer to “C:\STPViewer”
stviewersetup.exe /DIR="C:\STPViewer" /VERYSILENT /NORESTART |
Exclude Desktop Shortcut During Install
The STP Viewer installer creates a desktop shortcut by default. If you do not want the desktop shortcut, then you can run the following command line switches to exclude it.
STP Viewer Silent Install with No Desktop Shortcut
stviewersetup.exe /VERYSILENT /NORESTART /MERGETASKS=!desktopicon |
How to Uninstall STP Viewer Silently
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
STP Viewer Silent Uninstall (EXE) on 32-bit System
"%ProgramFiles%\STPViewer\unins000.exe" /VERYSILENT /NORESTART |
STP Viewer Silent Uninstall (EXE) on 64-bit System
"%ProgramFiles(x86)%\STPViewer\unins000.exe" /VERYSILENT /NORESTART |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.