Installation & Licensing
Welcome to Autodesk’s Installation and Licensing Forums. Share your knowledge, ask questions, and explore popular Download, Installation, and Licensing topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need syntax to apply TRANSFORM during silent install of Maya 2020

8 REPLIES 8
SOLVED
Reply
Message 1 of 9
tracy_carlson
988 Views, 8 Replies

Need syntax to apply TRANSFORM during silent install of Maya 2020

tracy_carlson
Explorer
Explorer

I need to perform a silent install of Maya 2020 with a Transform (MST) on the Maya installer.  I already have the silent installation working with the silent deploy syntax.  It works fine, but I need a transform tweak on the Maya.MSI file to be applied.  How do we edit the XML files to have the silent install use the desired MST file?

 

Thanks!

0 Likes

Need syntax to apply TRANSFORM during silent install of Maya 2020

I need to perform a silent install of Maya 2020 with a Transform (MST) on the Maya installer.  I already have the silent installation working with the silent deploy syntax.  It works fine, but I need a transform tweak on the Maya.MSI file to be applied.  How do we edit the XML files to have the silent install use the desired MST file?

 

Thanks!

Tags (3)
8 REPLIES 8
Message 2 of 9
natasha.l
in reply to: tracy_carlson

natasha.l
Alumni
Alumni

Hello @tracy_carlson

 

The standard recommendation is provided on our Maya 2020 Help page. Although, I understand you are trying to apply transforms to the installer. I will reach out to @m_latz who maybe able to provide some suggestions for you. 

 

Can you please provide an example of how you are applying it?  

 

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

0 Likes

Hello @tracy_carlson

 

The standard recommendation is provided on our Maya 2020 Help page. Although, I understand you are trying to apply transforms to the installer. I will reach out to @m_latz who maybe able to provide some suggestions for you. 

 

Can you please provide an example of how you are applying it?  

 

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

Message 3 of 9
m_latz
in reply to: natasha.l

m_latz
Advisor
Advisor

I will check this tomorrow and may be I can give you a solution.

 

regards

 

Markus

I will check this tomorrow and may be I can give you a solution.

 

regards

 

Markus

Message 4 of 9
m_latz
in reply to: m_latz

m_latz
Advisor
Advisor
Accepted solution

To pass parameter to an installation package just open the "pkg.*.xml" file in the same folder as the package and add the parameter "installParams" to the "InstallFile" entry.

 

An example:

 

I created a transformation for the maya.msi installation to not create the desktop shortcut. I copied my transformation to the same folder as the maya.msi file and added the following to the pkg.maya.xml file:

 

<InstallFile type="MSI" contents="Folder" installParams="TRANSFORMS=x64\Maya\MayaNoDtSc.mst" file="x64/Maya/Maya.msi"/>

 

That worked for me to apply my transformation. You can also pass any other properties to the msi.

 

regards

 

Markus

 

 

 

 

0 Likes

To pass parameter to an installation package just open the "pkg.*.xml" file in the same folder as the package and add the parameter "installParams" to the "InstallFile" entry.

 

An example:

 

I created a transformation for the maya.msi installation to not create the desktop shortcut. I copied my transformation to the same folder as the maya.msi file and added the following to the pkg.maya.xml file:

 

<InstallFile type="MSI" contents="Folder" installParams="TRANSFORMS=x64\Maya\MayaNoDtSc.mst" file="x64/Maya/Maya.msi"/>

 

That worked for me to apply my transformation. You can also pass any other properties to the msi.

 

regards

 

Markus

 

 

 

 

Message 5 of 9
tracy_carlson
in reply to: m_latz

tracy_carlson
Explorer
Explorer

Thank you so much - I actually figured this out as well 2 days ago and was going to post my response.

0 Likes

Thank you so much - I actually figured this out as well 2 days ago and was going to post my response.

Message 6 of 9
tracy_carlson
in reply to: m_latz

tracy_carlson
Explorer
Explorer

@m_latz  - Any clue how to get this working?  I would like to log the MSI log file for Maya specifically to c:\windows\debug.  When I put anything besides installParams="TRANSFORMS=x64\Maya\Maya.mst" it fails.  I was thinking I could pass other MSI parameters within the installParams but it does not like it.

 

installParams="TRANSFORMS=x64\Maya\Maya.mst /lime c:\windows\debug\Maya_2020_20.0.0.235_Install.log" 

 

If I modify <LogFile>Maya2020.log</LogFile> with a path in the pkg.maya.xml file, it does not like that either.

 

Thanks!

 

 

0 Likes

@m_latz  - Any clue how to get this working?  I would like to log the MSI log file for Maya specifically to c:\windows\debug.  When I put anything besides installParams="TRANSFORMS=x64\Maya\Maya.mst" it fails.  I was thinking I could pass other MSI parameters within the installParams but it does not like it.

 

installParams="TRANSFORMS=x64\Maya\Maya.mst /lime c:\windows\debug\Maya_2020_20.0.0.235_Install.log" 

 

If I modify <LogFile>Maya2020.log</LogFile> with a path in the pkg.maya.xml file, it does not like that either.

 

Thanks!

 

 

Message 7 of 9
m_latz
in reply to: tracy_carlson

m_latz
Advisor
Advisor

I tried only to apply the TRANSFORM, because if you can apply a transform, you can do anything.

 

Also enable logging and define the MsiLogFileLocation.

 

I try later to pass also other properties and will inform you.

 

regards

 

Markus

0 Likes

I tried only to apply the TRANSFORM, because if you can apply a transform, you can do anything.

 

Also enable logging and define the MsiLogFileLocation.

 

I try later to pass also other properties and will inform you.

 

regards

 

Markus

Message 8 of 9
m_latz
in reply to: tracy_carlson

m_latz
Advisor
Advisor

Okay tried and it is also possible to pass anything else to the msi.

 

if you call maya.msi via msiexec it is:

 

msiexec /I maya.msi TRANSFORMS="MayaNoDtSc.mst" ADSK_ADD_QUICKLAUNCH="0"

 

But because the new Autodesk installer uses a xml format you can not pass this, because in xml the begin and end of a string is marked with "

 

If you need " inside your string you have to mask them. So for XML it looks like:

 

installParams="TRANSFORMS=&quot;x64\Maya\MayaNoDtSc.mst&quot; ADSK_ADD_QUICKLAUNCH=&quot;0&quot;"

 

where &quot; is the mask for "

 

regards

 

Markus

 

 

0 Likes

Okay tried and it is also possible to pass anything else to the msi.

 

if you call maya.msi via msiexec it is:

 

msiexec /I maya.msi TRANSFORMS="MayaNoDtSc.mst" ADSK_ADD_QUICKLAUNCH="0"

 

But because the new Autodesk installer uses a xml format you can not pass this, because in xml the begin and end of a string is marked with "

 

If you need " inside your string you have to mask them. So for XML it looks like:

 

installParams="TRANSFORMS=&quot;x64\Maya\MayaNoDtSc.mst&quot; ADSK_ADD_QUICKLAUNCH=&quot;0&quot;"

 

where &quot; is the mask for "

 

regards

 

Markus

 

 

Message 9 of 9
m_latz
in reply to: m_latz

m_latz
Advisor
Advisor

And just another note,

 

I suppose the new Autodesk installer does not use "msiexec.exe" they use the internal windows api.

 

There /l does not work. You have to use MsiLogging and MsiLogFileLocation

 

Just try.

 

regards

 

Markus

0 Likes

And just another note,

 

I suppose the new Autodesk installer does not use "msiexec.exe" they use the internal windows api.

 

There /l does not work. You have to use MsiLogging and MsiLogFileLocation

 

Just try.

 

regards

 

Markus

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Administrator Productivity


Autodesk Design & Make Report