Creating and Deploying a Customized Installer
You can add and remove applications from the Creo View JT Adapter installation. For instance, the users in your organization have the following needs:
Required
Not Required
Using Creo View JT Adapter
Microsoft Visual Studio C++ 2015–2019 Runtime Redistributable
In this case, you may want to customize the installer by removing Microsoft Visual Studio C++ 2015–2019 Runtime Redistributable because you have already deployed it.
Accomplish the customization by performing two basic tasks:
1. Prepare the directory structure by adding and removing installer files.
2. Modify CreoSetup.ini to run the installers correctly.
After you complete these tasks, you can deploy the software. The procedures in the next sections contain instructions for completing the tasks above, and for and the deployment.
Preparing the Directory Structure
Follow the steps below to customize the installation directory.
1. Create an empty directory (<directory>).
2. Copy these subdirectories and files into your empty directory:
\prereqs subdirectory
\creoview_jtadapter subdirectory
Setup.exe
CreoSetup.ini
3. Under the \prereqs subdirectory, remove the Microsoft Visual Studio 2015–2019 C++ Redistributable x64. It is called vcredist_x64.exe.
The directory is now ready. Continue to the next section to customize the INI file.
Modifying CreoSetup.ini
You must now modify CreoSetup.ini to make these changes to the default installation directives. You can delete unnecessary lines and sections from the file, or you can modify them. In this example, they are modified.
Remove or disable the vc_redist.x64.exe directives.
Follow the next steps to update the INI file accordingly.
1. Open CreoSetup.ini in a text editor.
2. In the [Other Applications] section, find the line VCREDIST_X64=YES and replace it with VCREDIST_X64=NO and the line VCREDIST_X86=YES with VCREDIST_X86=NO.
3. Save CreoSetup.ini and close the text editor.
You have now defined the installation in the INI file:
For more information on the INI file, skip to the section Understanding the CreoSetup.ini File.
To begin deployment, skip to the section Deploying the Creo View JT Adapter with the Customized Installer below.
Understanding the CreoSetup.ini File
Each application in the file’s [Other Applications] section has a YES or NO value. A YES value does not necessarily mean the application’s installer will always be executed. Instead, each application with a YES value is a potential installation. If your system has an installation that matches the product code line, then nothing is done. If your system does not have a matching installation, the application is installed.
The PRODUCTCODE line for each application is optional. In all cases, the application is installed automatically when your system does not have the same version installed. Providing a product code minimizes the time the installation takes to complete.
The value for the PROGRAM line must be a *.exe file or a *.msi file.
Deploying the Creo View JT Adapter with the Customized Installer
You have now prepared the directory and modified the INI file. In this example, deploy the applications with a passive installation. You may use one or both of these strategies:
Run Setup.exe directly from the network location.
Create a new, self-extracting archive from the modified directory. Make sure the self-extractor calls CreoSetup.exe to chain all the installations to deploy.
The call to CreoSetup.exe must include, in the command line, all MSI arguments for the base Creo View JT Adapter installer. At this time, you cannot embed the Creo View JT Adapter MSI arguments directly in CreoSetup.ini.
To perform the passive installation, open a command shell and enter the following command:
CreoSetup.exe /vADDLOCAL="ALL" APPLICATIONFOLDER="C:\ptc\mycreoviewadapters" /qb!
* 
Make sure there is no space between /v and the next character in the command.
The Creo View JT Adapter is installed with a progress bar, but no Cancel button. For more information on common examples of options for a silent installation, see Deploying the Creo View Adapter for JT and the JT Import Filter Using a Silent Installation.
Was this helpful?