AutoCAD 2022 Custom Deployment

AutoCAD 2022 Custom Deployment

Dazzman
Advocate Advocate
7,811 Views
24 Replies
Message 1 of 25

AutoCAD 2022 Custom Deployment

Dazzman
Advocate
Advocate

Just had a go using the new custom install tool to setup an AutoCAD 2022 deployment and as far as I can see there's no option to disable the Migrate Custom Settings that we used to have in the old deployment setup?

 

Old 2021

 

Dazzman_0-1617893562254.png

 

New 2022

 

Dazzman_1-1617893594280.png

 

Am I missing something or has that option been removed, or can the deployment it setups up be modified?

 

Thanks.

0 Likes
Accepted solutions (1)
7,812 Views
24 Replies
Replies (24)
Message 2 of 25

natasha.l
Alumni
Alumni

Hello @Dazzman

 

Sorry for the delay, I looked into this for you & you are correct there is no option to disable "Migrate Custom Settings" for an online deployment of AutoCAD. 

I have submitted a request to have the product delivery team provide an answer. 

 

I recommend that you also provide feedback to them: 

 

Please "Accept Solution" if a reply or replies have helped resolve the issue or answered your question, to help others in the community.

0 Likes
Message 3 of 25

m_latz
Advisor
Advisor

Not "out of the box", but it is possible to modify your deployment  for all your needs.

 

In the past the feature "Migrate" was disabled through the "setup deployment".

 

With 2022 you do not have the option to disable through a dialog, but you can still disable with a msi editor like orca or any other msi editor.

 

I did this just as an example, see the attachment (zip file you have to extract the mst file). And copy the file "MigrateOff.mst" to the same folder as the file "acadps.msi".

 

To "tell" the installer to include your new transform (MigrateOff.mst) you have to modify the file "pkg.acadps.xml":

 

Original:

installParams="ADSK_EULA_STATUS=#1"

 

New:

installParams="TRANSFORMS=%INSTALL_SOURCE%\x64\en-US\acadps\MigrateOff.mst ADSK_EULA_STATUS=#1"

 

That's all. With this "workaround" you can customize all msi packages as you need it.

 

regards

 

Markus

Message 4 of 25

jpCADconsulting
Advocate
Advocate

Hi m.latz,

 

I followed these direction but the install fails with the following line in the log (whole log attached):

 

"1624: Error applying transforms. Verify that the specified transform paths are valid."

the MST is in the folder with acadps.msi and pkg.acadps.xml.

 

Here is the text from the modified xml file in case I'm missing something...

 

<InstallFile type="MSI" contents="Folder" installParams="TRANSFORMS=%INSTALL_SOURCE%\x64\en-US\acadps\MigrateOff.mst ADSK_EULA_STATUS=#1" file="x64/en-US/acadps/acadps.msi"/>

 

Hoping you can shed some light on this for me.  Thanks!

0 Likes
Message 5 of 25

m_latz
Advisor
Advisor

To check I need the msi log file. Check your %temp% folder for the install log of the acadps.msi file

 

regards

 

Markus

0 Likes
Message 6 of 25

jpCADconsulting
Advocate
Advocate

Would it have a specific name? Lots of log file in there, nothing with acadps in the name.

 

0 Likes
Message 7 of 25

jpCADconsulting
Advocate
Advocate

Oh, here it is (I think).  Attached.

0 Likes
Message 8 of 25

jpCADconsulting
Advocate
Advocate

There are a few paths in the log that make mention of the folder:

 

\\mnla-ny-pfs-02\cad_common$\Autodesk Deployments\_Deploy AutoCAD 2022\image\ACD_2022_en-US\x64\en-US\acadps\Autodesk

 

Which does not exist...?

0 Likes
Message 9 of 25

m_latz
Advisor
Advisor

Can you also post/upload your "pkg.acadps.xml" here, that I can check why it is not working ?

 

Because the path:

\\mnla-ny-pfs-02\cad_common$\Autodesk Deployments\_Deploy AutoCAD 2022\image\ACD_2022_en-US\x64\en-US\acadps\Autodesk

 

is incomplete.

 

 

regards

 

Markus

0 Likes
Message 10 of 25

jpCADconsulting
Advocate
Advocate

Suddenly, I can't seem to attach files??? Stay tuned.

0 Likes
Message 11 of 25

jpCADconsulting
Advocate
Advocate
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package version="1.0" xsi:schemaLocation="https://emsfs.autodesk.com/schema/manifest/1/0 https://emsfs.autodesk.com/schema/manifest/1/0/manifest.xsd" xmlns="https://emsfs.autodesk.com/schema/manifest/1/0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Identity>
        <Publisher>Autodesk, Inc.</Publisher>
        <DisplayName>AutoCAD 2022 - English</DisplayName>
        <PLC>ACD</PLC>
        <Release>2022</Release>
        <BuildNumber>24.1.51.0</BuildNumber>
        <UPI2>{2F9DA8EC-569C-40DF-B9E6-5CEEDB9AE7F2}</UPI2>
        <UpgradeCode>{F6E7356F-C99B-339D-A02C-95151183B389}</UpgradeCode>
        <ConstantId>{DE161F0D-0699-31DC-AD3D-8A544464FEB2}</ConstantId>
        <Signature>Q9V6ZQ0orxMaXEQ+Lb7qFD2jWzP9U0MKIWzZCCc2VwA=</Signature>
        <Type>APP</Type>
    </Identity>
    <Configuration>
        <InstallFile type="MSI" contents="Folder" installParams="TRANSFORMS=%INSTALL_SOURCE%\x64\en-US\acadps\MigrateOff.mst ADSK_EULA_STATUS=#1" file="x64/en-US/acadps/acadps.msi"/>
        <AdditionalPackageInfo identifier="{28B89EEF-5101-0409-2102-CF3F3A09B77D}" upgrade="{28B89EEE-5101-0409-2102-CF3F3A09B77D}" version="24.1.51.0" installLocation="%ACAD_INSTALL_PATH%">
            <MsiTransform>
                <MsiProperties>
                    <MsiProperty name="SUPPORT_CONTENT_ROOT" value="%SUPPORT_CONTENT_ROOT%"/>
                    <MsiProperty name="SUPPORT_CONTENT_CUSTOM_PATH" value="%SUPPORT_CONTENT_CUSTOM_PATH%"/>
                    <MsiProperty name="LOCKSECURITYSETTINGS" value="%LOCKSECURITYSETTINGS%"/>
                    <MsiProperty name="SECURELOAD" value="%SECURELOAD%"/>
                    <MsiProperty name="ACADProfile_TrustedPaths" value="%ACADProfile_TrustedPaths%"/>
                    <MsiProperty name="ACADProfile_TrustedDomains" value="%ACADProfile_TrustedDomains%"/>
                    <MsiProperty name="LEGACYCODESEARCH" value="%LEGACYCODESEARCH%"/>
                    <MsiProperty name="ACADLspAsDoc" value="%ACADLspAsDoc%"/>
                    <MsiProperty name="ACAD_USE_ONLINE_CONTENT" value="%ACAD_USE_ONLINE_CONTENT%"/>
                    <MsiProperty name="ACAD_SUBSCRIPTIONCENTER_ENABLE" value="%ACAD_SUBSCRIPTIONCENTER_ENABLE%"/>
                    <MsiProperty name="ACAD_ENABLE_SEND_PC_NAME" value="%ACAD_ENABLE_SEND_PC_NAME%"/>
                    <MsiProperty name="ACAD_ENABLE_ROUNDTRIP" value="%ACAD_ENABLE_ROUNDTRIP%"/>
                    <MsiProperty name="CUSTOM_PROFILE" value="%CUSTOM_PROFILE%"/>
                    <MsiProperty name="STANDALONE_LP" value="%STANDALONE_LP%"/>
                    <MsiProperty name="ACOMP_EXPRESS_TOOLS" value="%ACOMP_EXPRESS_TOOLS%"/>
                    <MsiProperty name="ODIS_INSTALL_MODE" value="%INSTALL_MODE%"/>
                    <MsiProperty name="ODIS_LANGUAGE_CODE" value="%LANGUAGE_CODE%"/>
                    <MsiProperty name="ODIS_SILENT" value="%SILENT%"/>
                    <MsiProperty name="ODIS_TRIAL_MODE" value="%TRIAL_MODE%"/>
                    <MsiProperty name="ODIS_TRIGGER_POINT" value="%TRIGGER_POINT%"/>
                    <MsiProperty name="ODIS_UI_MODE" value="%UI_MODE%"/>
                    <MsiProperty name="ACADSTANDALONENETWORKTYPE" value="%ACADSTANDALONENETWORKTYPE%"/>
                    <MsiProperty name="NIWSELECTION" value="%NIWSELECTION%"/>
                    <MsiProperty name="ADSK_DESKTOPSHORTCUT_1" value="%ADSK_DESKTOPSHORTCUT_1%"/>
                </MsiProperties>
            </MsiTransform>
        </AdditionalPackageInfo>
        <Attributes diskCost="18553447"/>
        <Platforms>
            <Platform name="Windows" architecture="x64" minVersion="10.0.14393" useNTVersion="true"/>
        </Platforms>
        <Languages>
            <Language langId="en-US"></Language>
        </Languages>
        <CustomCommands>
            <Action path="%INSTALL_SOURCE%\x64\en-US\acadps\AcInstCfg.exe" params="--PRD 5101 --LAN 0409 --CFG &quot;%INSTALL_SOURCE%\CustomUserFiles\CUSTOM_PROFILE&quot;" type="postInstall"/>
        </CustomCommands>
        <LaunchShortcut exePath="AutoCAD 2022/acad.exe" params="/product ACAD /language en-US"/>
        <LogFilePath>%tmp%/Autodesk_AutoCAD_PSPack_en-US</LogFilePath>
    </Configuration>
    <Dependencies>
        <Package installAs="core" name="ACAD Private" external="false" path="x64/acadprivate/pkg.acadprivate.xml" upi2="{C54CBE6F-7D81-4B6D-8BA1-49580C3B8A4E}" upgradeCode="{FFC0C27A-A6C5-367D-86AB-F3344F4D985C}"/>
        <Package installAs="core" name="AutoCAD 2022 Language Pack - English" external="false" path="x64/en-US/acadlp/pkg.acadlp.xml" upi2="{4FD9EA18-5F0E-428C-8FD0-87FCAAC103EA}" upgradeCode="{FAFFC99C-421C-3084-BA51-037D9E2D6DE4}"/>
    </Dependencies>
    <Payload sizePacked="9780752" sizeUnpacked="27447031">
        <File checkSum="4106E59BE7B3AF6A28F4600216EC0D48FA2A43D1F936271608ABF7FE829407E4" sizePacked="9780752" sizeUnpacked="27447031">NetSWDLD/ODIS/prd/2022/ACD/2F9DA8EC-569C-40DF-B9E6-5CEEDB9AE7F2/pkg.acadps.tar.xz</File>
    </Payload>
</Package>
0 Likes
Message 12 of 25

m_latz
Advisor
Advisor
Accepted solution

Okay @jpCADconsulting ,

 

if you have blanks/spaces in your paths you have to mask / surround the paths with "quotes".

For your case modify the "installParams" parameter like this:

 

Before:

installParams="TRANSFORMS=%INSTALL_SOURCE%\x64\en-US\acadps\MigrateOff.mst ADSK_EULA_STATUS=#1"

 

After:

installParams="TRANSFORMS=&quot;%INSTALL_SOURCE%\x64\en-US\acadps\MigrateOff.mst&quot; ADSK_EULA_STATUS=#1"

 

Try and let me know if it worked now.

 

regards

 

Markus

 

Message 13 of 25

jpCADconsulting
Advocate
Advocate

Thanks, will try now and report back.

0 Likes
Message 14 of 25

jpCADconsulting
Advocate
Advocate

Holy smokes it worked!!!

I can't thank you enough for helping me out - I was stumped.

Stay safe and thanks again!

 

-JP

0 Likes
Message 15 of 25

jpCADconsulting
Advocate
Advocate

 

I just tried this with a test 2023 deployment and it does not work. I assume the issue is in the MST file as everything else is the same.

Does that sound right to you?

0 Likes
Message 16 of 25

jpCADconsulting
Advocate
Advocate

Well, I installed an MST editor and I have to say... I'm lost. In over my head.  New process for me. I'll keep poking around but any info on how you created that MST file to begin with would be great.

Ever grateful,

 

-JP

0 Likes
Message 17 of 25

m_latz
Advisor
Advisor

No problem, I will check later ... 

 

regards

 

Markus

Message 18 of 25

jpCADconsulting
Advocate
Advocate

Thanks much. If you need anything from me, just let me know.

 

0 Likes
Message 19 of 25

m_latz
Advisor
Advisor

Sorry, I'm a bit confused. The option to configure "Migrate Custom Settings" is now available. So what is your problem ? Doesn't it work ?

Acad2023MigCu.png

regards

 

Markus

Message 20 of 25

jpCADconsulting
Advocate
Advocate
I did not see the option to *disable* "Migrate Custom Settings" in the
deployment creation process. Can you be specific about where that option is?

Thanks!

-JP

0 Likes