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 ...
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 :
The program I use to package this :
On my own disk or on the network ? :
What do I want ? :
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)
Please log in to answer
Posted by:
Nosfer
15 years ago
Posted by:
darkfang
15 years ago
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.
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
Posted by:
pjgeutjens
15 years ago
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
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
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: Local
If 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
Posted by:
Nosfer
15 years ago
Posted by:
Nosfer
15 years ago
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)
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
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
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
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
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
Posted by:
Nosfer
15 years ago
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)
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
Posted by:
cygan
15 years ago
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.
so that the conversation will remain readable.