Problem:
FlexApp packaging AutoCAD 2023
Added note on Packaging for FA1 - For FA1 versions of this package, it MUST be launched once after the capture.
Prerequisites
Installation of AutoDesk prerequisites on both the FlexApp packaging console and the base image is necessary.
- Ensure you have a snapshot to revert back to.
- If you are using the Autodesk Create Installer or self-extracting installer, allow it to extract the installation files.
- Copy the 3rdParty runtime folder out to an external share\directory. You may have to navigate farther down the directory tree to find the 3rdParty directory.
- Revert back to the previous snapshot. We are trying to create a baseline where the install directory does not exist.
- Install the following runtimes on both the FPC and the Parent image from the 3rdparty folder that was copied to an external share, not in capture mode
- dotNetFramework\48\dotNetFx48_Full_x86_x64.exe
- x64\aspNetCore\31\aspnetcore-runtime-3.1.10-win-x64.exe
- x64\dotNetCore\31\dotnet-runtime-3.1.10-win-x64.exe
- x64\WebView2\MicrosoftEdgeWebView2RuntimeInstallerX64.exe
- Install the ADSK Licensing on both the FPC and the Parent image from the link:
https://www.autodesk.com/support/technical/article/caas/tsarticles/ts/f5IhBc15i0kOwzBb8lcEN.html - Shutdown and take another snapshot of the FPC.
AutoCAD 2023
- If you are using the Autodesk Create Installer or self-extracting installer, allow it to extract the installation files. Wait for the notification that the application is ready to install.
- Before starting the actual installation, start the FlexApp packaging capture
- Install AutoCAD 2023
- NOTE: If you are creating a FlexAppOne version of this application, you must launch the program one time at the end of the capture to populate the C:\Users\flexappuser\AppData folders - This will also fix/stop the auto-repair issue.
- After the installation is complete, create a PitFiles directory - C:\Program Files (x86)\Common Files\Autodesk\PitFiles
- Search for AutoCADLTConfig.pit in C:\AutoDesk\*\...\x64\acad* (private or shared)
- Copy the *.pit file and paste it to C:\Program Files (x86)\Common Files\Autodesk\PitFiles.
- Finish the capture and save the package.
- Create a post activation script\bat file (pitcopy.bat).
Script Contents:
"C:\Program Files (x86)\Common Files\Autodesk Shared\AdskLicensing\Current\helper\AdskLicensingInstHelper.exe" register -pl ProductKey -pv YEAR.0.0.F - cf "C:\Program Files (x86)\Common Files\Autodesk\PitFiles\AutoCADLTConfig.pit" -el US
Note: You can find the ProductKey value here- https://www.autodesk.com/support/download-install/individuals/keys/look-up-product-keys
YEAR changes depending on the version. For AutoCAD 2023 that is 2023 - Playback the package then select the option to Add Script to package
- Add pitcopy.bat as a Post Activation Script
- Save the Package
- To test, revert the snapshot and playback the package
AutoCAD Plant 3D 2023
- If you are using the Autodesk Create Installer or self-extracting installer, allow it to extract the installation files. Wait for the notification that the application is ready to install.
- Before starting the actual installation, start the FlexApp packaging capture
- Install AutoCAD Plant3D
- After the installation is complete, create a PitFiles directory - C:\Program Files (x86)\Common Files\Autodesk\PitFiles
- Search for Plant3DConfig.pit in C:\AutoDesk\*\...\x64\plnt3d* (private or shared)
- Copy the *.pit file and paste it to C:\Program Files (x86)\Common Files\Autodesk\PitFiles.
- Finish the capture and save the package.
- Create a post activation script\bat file (pitcopy.bat).
Script Contents:
"C:\Program Files (x86)\Common Files\Autodesk Shared\AdskLicensing\Current\helper\AdskLicensingInstHelper.exe" register -pl ProductKey -pv YEAR.0.0.F - cf "C:\Program Files (x86)\Common Files\Autodesk\PitFiles\Plant3DConfig.pit" -el US
Note: You can find the ProductKey value here- https://www.autodesk.com/support/download-install/individuals/keys/look-up-product-keys
YEAR changes depending on the version. For AutoCAD 2023 that is 2023 - Playback the package then select the option to Add Script to package
- Add pitcopy.bat as a Post Activation Script
- Save the Package
- To test, revert the snapshot and playback the package
Product: FlexApp
Product Version: 6.8.5
Expires on: 365 days from publishing
Updated: January 28, 2025