MSI with MST
Quick question for you lads and lasses.
Basically, I have created a MST with Wise Package Studio 5.6 - InstallTailor. I have done this many times, and havent come across this.
When I have ran the MSI with the MST manually, from a command prompt or from Start > Run.
'Msiexec /i <MSI> TRANSFORMS=<MST>'
It works, as soon as I put it in GPO it says it completed the installation, but when I goto the folder it hasnt installed all the files and folders.
Any ideas why this happends?
TG
Basically, I have created a MST with Wise Package Studio 5.6 - InstallTailor. I have done this many times, and havent come across this.
When I have ran the MSI with the MST manually, from a command prompt or from Start > Run.
'Msiexec /i <MSI> TRANSFORMS=<MST>'
It works, as soon as I put it in GPO it says it completed the installation, but when I goto the folder it hasnt installed all the files and folders.
Any ideas why this happends?
TG
0 Comments
[ + ] Show comments
Answers (19)
Please log in to answer
Posted by:
Lillude
18 years ago
GPO might be installing files in /qb mode and i think when you are manually testing it you are not using that switch. Some of the features may be getting installed only in UI mode and hence it is getting installed properly.
what I will suggest to install it in UI mode and create a log file. In the log file you find all the features being installed and then you pass these features while you are installing through GPO. you need to pass these features to the Property ADDLOCAL with ; separated...
for example msiexec /i MSIName.MSI TRANSFORMS=MSTName.MST ADDLOCAL=Feature1;Feature2;Feature3
hope this helps...
what I will suggest to install it in UI mode and create a log file. In the log file you find all the features being installed and then you pass these features while you are installing through GPO. you need to pass these features to the Property ADDLOCAL with ; separated...
for example msiexec /i MSIName.MSI TRANSFORMS=MSTName.MST ADDLOCAL=Feature1;Feature2;Feature3
hope this helps...
Posted by:
AngelD
18 years ago
Posted by:
Thegunner
18 years ago
Posted by:
AngelD
18 years ago
Posted by:
Thegunner
18 years ago
Posted by:
AngelD
18 years ago
Yeah, we all know about shitty packages vendors do [;)]
I assume you get these errors during validation, which we often don't wan't to resolve from supplied vendor packages if we don't have to.
Have you been able to locate your feature issue and if so does the installation work when distributing the package through AD/GPO? Which application are we talking about?
I assume you get these errors during validation, which we often don't wan't to resolve from supplied vendor packages if we don't have to.
Have you been able to locate your feature issue and if so does the installation work when distributing the package through AD/GPO? Which application are we talking about?
Posted by:
Thegunner
18 years ago
Posted by:
Thegunner
18 years ago
ORIGINAL: AngelD
If it doesn't help, try get in contact with ESRI.
ESRI Support Center
Been talking to them for the last few days, they havent a clue either. [:(]
Posted by:
AngelD
18 years ago
Posted by:
AngelD
18 years ago
Posted by:
Thegunner
18 years ago
Hmm so far i have tried put all the conditions on level 3 and it still doesnt work.
This thing has two feature, one called "HiddenRoot" which is well hidden and the other is called "CrystalReportsRoot" which has sub feature. I did details on "CrystalReportsRoot" and set the tickbox to "Required Feature" and Level to "Always install this feature".
I then ran the cmd prompt to install it the usual 'msiexec /i <msi> TRANSFORMS=<mst> and it works fine. As soon as I add '/qb' it installs but the shortcut says "Will install on on first use'
Strange and it doing my head in. I dont get it.
This thing has two feature, one called "HiddenRoot" which is well hidden and the other is called "CrystalReportsRoot" which has sub feature. I did details on "CrystalReportsRoot" and set the tickbox to "Required Feature" and Level to "Always install this feature".
I then ran the cmd prompt to install it the usual 'msiexec /i <msi> TRANSFORMS=<mst> and it works fine. As soon as I add '/qb' it installs but the shortcut says "Will install on on first use'
Strange and it doing my head in. I dont get it.
Posted by:
AngelD
18 years ago
Posted by:
Thegunner
18 years ago
I have found in CA, that there are IF statements saying
If <filename> > 2 then
Execute Program From Destination "[SystemFolder]msiexec.exe" /y "Path"
End
There are loads of these, so if the Level is 3 then they wont install, which is what I want.
All this is in the Execute Deferred area in the MSI Script.
In the All Custom Actions, there are Execute Program From Destination commands.
If <filename> > 2 then
Execute Program From Destination "[SystemFolder]msiexec.exe" /y "Path"
End
There are loads of these, so if the Level is 3 then they wont install, which is what I want.
All this is in the Execute Deferred area in the MSI Script.
In the All Custom Actions, there are Execute Program From Destination commands.
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.