- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am unable to find any articles that explain how to generate .ini file to add existing Templates, Profile & Settings (i.e., from 2020 version of AutoCAD) to a AutoCAD 2023 deployment - Using Batch file.
It appears that previous versions of AutoCAD (like the 2020 version) had an option to generate a .ini file. However, this option is no longer available on the 2023 version of AutoCAD.
The purpose is to eliminate the need of having the end user import their settings, profile and templates after installation. In other words, the idea is to get the installation and setup ready out of the box, .i.e., end user launches AutoCAD 2023 and they automatically have their profile uploaded, templates readily available, settings and menus, etc.
I am aware of the option to upload the arg. file when customizing the deployment/installer. My challenge is everything else we would like imported and ready in the deployment.
Any ideas on how to get this done?
If it helps, below you will find the batch file I will be using:
_____________________________________________________
chcp 65001
rem ========== Install the deployment with basic UI ==========
"\\Server01\install$\Apps\CAD Applications\Autodesk\Autodesk2023_D\image\Installer.exe" -i deploy --offline_mode --ui_mode basic -o "\\Server01\install$\Apps\CAD Applications\Autodesk\Autodesk2023_D\image\Collection.xml" --installer_version "1.39.0.174"
:checkPrivileges
:: Make sure we are running as admin - UAC...
echo .
echo Checking for admin access...
NET FILE 1>NUL 2>NUL
if '%errorlevel%' == '0' (
echo ...OK
goto gotPrivileges
) else (
echo ...FAILED.
powershell "saps -filepath ""%0"" -verb runas"
)
echo .
exit /b
:gotPrivileges
echo .
SET STARTTIME=%TIME%
echo %time%- Syncing ABCFolder folder…
if not exist "C:\Program Files\Autodesk\AutoCAD 2023\ABCFolder" mkdir "C:\Program Files\Autodesk\AutoCAD 2023\ABCFolder"
ROBOCOPY "%~DP0ABCFolder " "C:\Program Files\Autodesk\AutoCAD 2023\ABCFolder" /MIR /ns /nc /nfl /ndl /njh
echo .
Echo Start Time- %STARTTIME%
Echo End Time- %TIME%
echo .
echo Done.
PAUSE
Solved! Go to Solution.