Error applying transforms
I use AdminStudio for Configmgr (a free edition) to create response transforms
Today packaging Dragon 11 and getting error installing the Visual C++ Runtime with a fairlyy standard msiexec /i msifile TRANSFORMS=mstfile /qr
Error applying transforms verify path is valid. I create the transform on my own PC which is windows 7 and I tested my package on a Windows 7 VM and it worked fine, but then got the above error message on an XP VM. I assume it has something to do with the different versions of windows installer but as a test I installed the adminstudio onto the XP VM and recreated the transform and then the command line worked ok on windows XP. Haven't yet got round to retesting on windows 7 but I suspect that will be ok as well
Does this mean I have to create all transforms within XP i.e. the lowest operating system ?
Thanks
Today packaging Dragon 11 and getting error installing the Visual C++ Runtime with a fairlyy standard msiexec /i msifile TRANSFORMS=mstfile /qr
Error applying transforms verify path is valid. I create the transform on my own PC which is windows 7 and I tested my package on a Windows 7 VM and it worked fine, but then got the above error message on an XP VM. I assume it has something to do with the different versions of windows installer but as a test I installed the adminstudio onto the XP VM and recreated the transform and then the command line worked ok on windows XP. Haven't yet got round to retesting on windows 7 but I suspect that will be ok as well
Does this mean I have to create all transforms within XP i.e. the lowest operating system ?
Thanks
0 Comments
[ + ] Show comments
Answers (11)
Please log in to answer
Posted by:
anonymous_9363
12 years ago
Posted by:
jmaclaurin
13 years ago
Paths need to be pretty specific.
c:\windows\system32\msiexec.exe /i \\server\share\file.msi TRANSFORMS="\\server\share\file.mst" /qr
Also, that error message may be indicating that the MSI may not like something within the MST.
One other possibility is your MST is corrupted. I'm using AdminStudio/InstallShield 10 and periodically, I have to start over with my MST's because they don't build/save properly and become corrupted.
c:\windows\system32\msiexec.exe /i \\server\share\file.msi TRANSFORMS="\\server\share\file.mst" /qr
Also, that error message may be indicating that the MSI may not like something within the MST.
One other possibility is your MST is corrupted. I'm using AdminStudio/InstallShield 10 and periodically, I have to start over with my MST's because they don't build/save properly and become corrupted.
Posted by:
Helpy
13 years ago
Posted by:
iburnell
13 years ago
So a transform created under windows 7 should work ok with and older XP system with the older version of msiexec ?
As I said I installed adminstudio on the XP VM and recreated the MST. Then tested in the package and it works fine under both XP and Windows 7
For the package I put the Visual C++ in a subdirectory under Dragon and cal from a VBscript - here's the line
IntReturnCode = oWSH.Run ("msiexec /i """ & MSIFile & """ TRANSFORMS=""" & MSTFile & """ /qr SKIP_PENDINGREBOOT_CHECK=1 REBOOT=ReallySuppress",1,True)
MSIfile and MSTfile are translating to a proper directory path i.e. \\unc\Visual Runtime\Visual C++ etc. etc.
I then run Dragon
intReturnCode = oWSH.Run ("msiexec /i ""Dragon NaturallySpeaking 11.msi"" SERIALNUMBER=" & strSerialNumber & " /qb /l* ""%temp%\Dragon11.log""",1,True)
I was going to log a separate thread for this because again I created a transform and was getting issetup type errors. I found that with /qb and no transform it works ok so I'll go with that !
As I said I installed adminstudio on the XP VM and recreated the MST. Then tested in the package and it works fine under both XP and Windows 7
For the package I put the Visual C++ in a subdirectory under Dragon and cal from a VBscript - here's the line
IntReturnCode = oWSH.Run ("msiexec /i """ & MSIFile & """ TRANSFORMS=""" & MSTFile & """ /qr SKIP_PENDINGREBOOT_CHECK=1 REBOOT=ReallySuppress",1,True)
MSIfile and MSTfile are translating to a proper directory path i.e. \\unc\Visual Runtime\Visual C++ etc. etc.
I then run Dragon
intReturnCode = oWSH.Run ("msiexec /i ""Dragon NaturallySpeaking 11.msi"" SERIALNUMBER=" & strSerialNumber & " /qb /l* ""%temp%\Dragon11.log""",1,True)
I was going to log a separate thread for this because again I created a transform and was getting issetup type errors. I found that with /qb and no transform it works ok so I'll go with that !
Posted by:
kardock
13 years ago
in my vbscripts, i stopped using double or triple " i noticed that this could lead to problems. now i use the character 34, like this:
strMsiToRun = Chr(34) & strCurrentDir & "Open Workbench.msi" & Chr(34)
strTrans = Chr(34) & strCurrentDir & "NikuCorporationOpenWorkbench122EN.mst" & Chr(34)
intErrCode = objShell.Run("msiexec.exe /i " & strMsiToRun & " TRANSFORMS=" & strTrans & " REBOOT=ReallySuppress /qn /l*v " & Chr(34) & strCurrentDir & "OWB_Install.log" & Chr(34), RUNHIDDEN, True)
i suggest you try it.
strMsiToRun = Chr(34) & strCurrentDir & "Open Workbench.msi" & Chr(34)
strTrans = Chr(34) & strCurrentDir & "NikuCorporationOpenWorkbench122EN.mst" & Chr(34)
intErrCode = objShell.Run("msiexec.exe /i " & strMsiToRun & " TRANSFORMS=" & strTrans & " REBOOT=ReallySuppress /qn /l*v " & Chr(34) & strCurrentDir & "OWB_Install.log" & Chr(34), RUNHIDDEN, True)
i suggest you try it.
Posted by:
iburnell
13 years ago
Hi - sorry to raise this one again but every time I seem to create a response transform on my own PC (Windows 7) the packages run just fine on Windows 7 but not on Windows XP
Can I just check do you have to step down to an XP machine to create the transform in the first place or is it my bad scripting. Sorry I don't have the exact command line in front of me - I was packaging Safend client which is a security tool. The command was something like msiexec /i safend.msi TRANSFORMS=safend.mst /qr
Can I just check do you have to step down to an XP machine to create the transform in the first place or is it my bad scripting. Sorry I don't have the exact command line in front of me - I was packaging Safend client which is a security tool. The command was something like msiexec /i safend.msi TRANSFORMS=safend.mst /qr
Posted by:
anonymous_9363
13 years ago
It has been an unwritten rule for some time that one packages for the lowest common denominator (in this case, XP) and add conditions for higher OSes. Build yourself an XP Pro VM and use that. You can copy your exclusion list etc. from your W7 packaging VM which, of course, you should retain for testing purposes.
Posted by:
zzpack
12 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.