/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (19)

Posted by: Lillude 18 years ago
Senior Purple Belt
0
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...
Posted by: AngelD 18 years ago
Red Belt
0
You can also see if there are conditions set on the features and try to change these if exist so they not only gets installed in UISequence
Posted by: Thegunner 18 years ago
Second Degree Green Belt
0
I have noticed in the MST that the Administrator Option > Install for Profile is set to Determind by user access. Should I change this to Per-Machine install ?
Posted by: AngelD 18 years ago
Red Belt
0
It all depends on how you want to install it, to Per user or machine?
If you install the package through AD/GPO for machine then the ALLUSERS property will be changed to 1.
Posted by: Thegunner 18 years ago
Second Degree Green Belt
0
Per Machine, that how we do the rest of the software.

If I do that all the components have errors. Stuff about key paths and components can not have more then 1 exe or dll in there.
Posted by: AngelD 18 years ago
Red Belt
0
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?
Posted by: Thegunner 18 years ago
Second Degree Green Belt
0
The application is Crystal Reports 11 for Esri. I am trying to get it working for WinXP it works fine for Win2000. But its XP i need it working on.

Damn thing.

I will try it now, without fixing the validation errors.
Posted by: AngelD 18 years ago
Red Belt
0
If it doesn't help, try get in contact with ESRI.

ESRI Support Center
Posted by: Thegunner 18 years ago
Second Degree Green Belt
0
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
Red Belt
0
Did you find anything in the Condition table?
Posted by: Thegunner 18 years ago
Second Degree Green Belt
0


All like this.
Posted by: AngelD 18 years ago
Red Belt
0
Then you would be interested in the conditions that set the Level to 0 in the Condition table.
If any of these features are lost during installation through AD/GPO, try to remove the condition for it or set the condition to return false.
Posted by: Thegunner 18 years ago
Second Degree Green Belt
0
What happens if the Level is 0 then ?
Posted by: AngelD 18 years ago
Red Belt
0
The feature is set to absent (never install)
Posted by: Thegunner 18 years ago
Second Degree Green Belt
0
So if I make all of them 3 it will install all of it ?
Posted by: AngelD 18 years ago
Red Belt
0
Or you can remove the condition and set the default level in the Feature table
Posted by: Thegunner 18 years ago
Second Degree Green Belt
0
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.
Posted by: AngelD 18 years ago
Red Belt
0
There may exist any CA in the InstallExecuteSequence table checking if the UILevel property < 5 (INSTALLUILEVEL_FULL).
Try to find out if the UILevel property is utilized and changing the state of the feature level.
Posted by: Thegunner 18 years ago
Second Degree Green Belt
0
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ