/build/static/layout/Breadcrumb_cap_w.png

Problems with Installtailor

Hello @ all

I must admit at first, that I'm a beginner in the packaging world. I did look throughout the whole forum to see if somebody had my problem yet. I was the admin at another big (non IT) forum so I know the general policies ;-)

I know my way around the IT world as I have my degree in it. Been working in it for several years now but packaging is my new job which is pretty new to me. I had a one week course (from an expert from Wise) to understand the basic feature. But as you know, one package is certainly not the other one ;-))

Beneath I'll explain the problem. If somebody would be so kind to look at it and wishes for some screenshots or something like that, ask please ;-)


The program I try to package : Van Dale Groot Woordenboek (A famous dictionary in Belgium & Holland)

The program I use to package this
: Wise Package Studio Pro edition

On my own disk or on the network ? : I used an admin install on the network after the install on my own disk didn't work either. I have all the rights I need on that network source

What do I want ? : I have an MSI from a dictionary program (1,30GB big). It has the languages Dutch (Nederlands), French (Frans), German (Duits) and English (Engels). The thing we want in our company is that we can use Transform files (MST's) to install the language that they need so we don't have to put the entire program on their pc's (mostly slow pc's, it's the governement ;-) ).

These are the basic features :

- Program files
- Dutch
- French
- German
- English

As we have multiple languages in Belgium (all of them except English), we try to make an install package with only the language the service needs.

So I made a file basic.mst with :

- Program Files
- Dutch

I did that by unchecking the other languages during the InstallTailor process.

I did the same kind of thing for our French and German colleagues.

I used this command line to install the basic.mst transfer file :

MSIEXEC /i vandale.msi TRANSFORMS=basic.mst

That worked like a charm. I can consult the program without any problem.

However, when I used :

MSIEXEC /i vandale.msi TRANSFORMS=french.mst (I unchecked Dutch, English and German in the MST file and left Program Files and French checked)

.. it won't work. It installs (I use AI for an automatic install) but it's so fast that it's impossible that its being installed .... and when I open the software, I have no french dictionarry. Same with all the other languages of course ..

There must be something that I do wrong (duh ;-) ), I just don't know what ...

0 Comments   [ + ] Show comments

Answers (16)

Posted by: Nosfer 15 years ago
Senior Yellow Belt
0
(Of course I used the full network path for the MSIEXEC commands ... I just wanted to keep it a bit more simple)
Posted by: darkfang 15 years ago
Blue Belt
0
In that case, use ADDLOCAL and REMOVE Property
http://msdn.microsoft.com/en-us/library/aa371194(VS.85).aspx
http://msdn.microsoft.com/en-us/library/aa367536(VS.85).aspx

Msiexec /i vendor.msi ADDLOCAL=ProgramFiles,Dutch,French
or
Msiexec /i vendor.msi ADDLOCAL=ProgramFiles,Dutch,German,English

etc...

The addlocal value are case sensitive, check the table Feature to know the exact syntax.
Posted by: Nosfer 15 years ago
Senior Yellow Belt
0
Cool, I'll try that one after I read the info about them. Thanx for the quick response !
Posted by: pjgeutjens 15 years ago
Red Belt
0
Filip,

besides what darkfang said, the basic control mechanism to decide wether a feature is installed is the install level.

basic rule is: the MSI has a public INSTALLLEVEL property, set to a certain value, in Van Dale 2009 it's 3 (I checked, we have the application here too). Each feature has an install level too (defaults are 1 in VD 2009).

The rule is: all features with an install level lower than or equal to the INSTALLLEVEL property will be installed. So you can just use your MST to increase the Install Level of any features you do not want (say to 4), and add any other changes you need.

Hope this helps

PJ
Posted by: anonymous_9363 15 years ago
Red Belt
0
Don't forget, you can log installs (indeed, you should always log when testing):MSIEXEC /i vandale.msi TRANSFORMS=french.mst /L*V %TEMP%\Vandale_Frenc.LOG The log will show you which features are being installed or not. Let's say the feature you want to install is called 'Lang_French'. The log file entry should look like this:Feature: Lang_French; Installed: Absent; Request: Local; Action: LocalIf it looks like this:Feature: Lang_French; Installed: Absent; Request: Null; Action: Null you know that the feature isn't selected properly for installation. For more information, see here http://msdn.microsoft.com/en-us/library/aa367858%28VS.85%29.aspx
Posted by: Nosfer 15 years ago
Senior Yellow Belt
0
thanx!

I shall reply here tomorrow, after I tried all those things :)

In case of the installlevels, I saw that they all were having the value 4 .. I used mstview.exe to generate a "log" file from the MST.
Posted by: Nosfer 15 years ago
Senior Yellow Belt
0
"The specified feature name (Frans) could not be found. I also tried the F_Frans as it is the feature err... "feature". Frans is the title. Both won't work ...
Posted by: turbokitty 15 years ago
6th Degree Black Belt
0
Have you tried installing it manually? Maybe the MSI has issues.
Posted by: Nosfer 15 years ago
Senior Yellow Belt
0
Feature Feature_Parent Title Display Level Directory_ Attributes F_Act
Injection 0 1
24 F_Font
Fontbestanden 0 1
24 F_Nederlands
Nederlands 2 4 NDIR 8 F_Gnn3 F_Nederlands Gnn3 4 4 GNN3DIR 8 F_ExtraN F_Nederlands Extra 6 4 EXTRANDIR 8 F_Duits
Duits 8 4 DDIR 8 F_Gdn3 F_Duits Gdn3 10 4 GDN3DIR 8 F_Gnd3 F_Duits Gnd3 12 4 GND3DIR 8 F_ExtraD F_Duits Extra 14 4 EXTRADDIR 8 F_Engels
Engels 16 4 EDIR 8 F_Gen3 F_Engels Gen3 18 4 GEN3DIR 8 F_Gne3 F_Engels Gne3 20 4 GNE3DIR 8 F_ExtraE F_Engels Extra 22 4 EXTRAEDIR 8 F_Frans
Frans 24 1 FDIR 8 F_Gfn3 F_Frans Gfn3 26 1 GFN3DIR 8 F_Gnf3 F_Frans Gnf3 28 1 GNF3DIR 8 F_ExtraF F_Frans Extra 30 1 EXTRAFDIR 8

This is my feature table (I left the Description collumn out of it because this way you can see it more easily ...)

The ADDLOCAL doesn't work when I use ADDLOCAL=F_Frans or ADDLOCAL=Frans ... it simply displays the help window ...

Changing the Level to 3 didn't work, changing it to 1 doesn't work.

The MSI installs correctly! That's for sure. Tried that one many times ;)

Can't take screenshots (as in uploading them to for instance photobucket ... it's blocked)
Posted by: timmsie 15 years ago
Fourth Degree Brown Belt
0
Another thing to look out for is entries in the "condition" table:

http://msdn.microsoft.com/en-us/library/aa368014(VS.85).aspx

If there are entries in here changing InstallLevel and ADDLOCAL will not give you the desired effect
Posted by: Nosfer 15 years ago
Senior Yellow Belt
0
Ok that's fucked up ... it seemed all nice when I copied it from my excell sheet...


Feature ----------- Feature_¨Parent ------------ Title --------------- Display ----------- LEvel

F_Act ----------- ------------Injection -----------------0-------------------1
F_Application ----- -------Program Files ----------------1-------------------1
F_Duits ----------- -----------Duits----------------------8-------------------4
F_Engels-----------------n/a------------------Engels---------------------16------------------4
F_ExtraD------------F_Duits------------------Duits----------------------14------------------4
F_ExtraE-----------F_Engels------------------Extra----------------------22------------------4
F_ExtraF-----------F_Frans-------------------Extra----------------------30------------------1
F_ExtraN--------F_Nederlands----------------Extra----------------------6-------------------4
F_Font--------------N/A-----------------------Fonts----------------------0-------------------1
F_Frans-------------N/A-----------------------Frans---------------------24------------------1
F_GDh3------------F_Duits--------------------Gdh3----------------------10------------------4
F_Gen3-------------F_Engels------------------Gen3-----------------------18-----------------4
F-Gfn3--------------F_Frans-------------------Gfn3-----------------------26-----------------1
F_Gnd3-------------F_Duits--------------------Gnd3----------------------12------------------4
F_Gne3-------------F_Engels-------------------Gne3----------------------20-------------------4
F_Gnf3--------------F_Frans--------------------Gnf3----------------------28-------------------1
F_Gnn3-------------F_Nederlands---------------Gnn3----------------------4-------------------4
F_Nederlands----------N/A----------------------Nederlands----------------2-------------------4
Posted by: Nosfer 15 years ago
Senior Yellow Belt
0
No entries in the condition table (easy, don't have to type that table aswell hehe ;-) )
Posted by: anonymous_9363 15 years ago
Red Belt
0
What does a verbose log tell you (see post #6)?
Posted by: Nosfer 15 years ago
Senior Yellow Belt
0
I'm still in the process of figuring out how to actually read that logfile :) I used the vx option in the logfile I created. Too much to post because it is 12MB ...

But I'm reading some technet pages to know how to interprete it. But I already found out that this line isn't good :

MSI (s) (A0:F8) [10:27:11:281]: Feature: F_Frans; Installed: Absent; Request: Null; Action: Null

(This was the logfile that was generated while using the transformfile to ADD the french -Frans- feature)
Posted by: anonymous_9363 15 years ago
Red Belt
0
That means that the feature hasn't been selected for installation.

BTW, please edit post #12...
Posted by: cygan 15 years ago
Fifth Degree Brown Belt
0
What do I want ? : I have an MSI from a dictionary program (1,30GB big). It has the languages Dutch (Nederlands), French (Frans), German (Duits) and English (Engels). The thing we want in our company is that we can use Transform files (MST's) to install the language that they need so we don't have to put the entire program on their pc's (mostly slow pc's, it's the governement ;-) ).

so it seems what you want is how to create a language mst and not trying to set conditions on the features
and to create a language mst is easy
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