MSI / Group Policy / MSN Messenger

J

Johnny Niska

Hi all, maybe not the right place to ask but I try anyway....

1) Q: anyone got a good idea how to install MSN Messenger via a msi package?
I can not get it to work properly...
2) Q: Another good and easy way to deploy MSN Messenger to a large amout of
PC's UNATTENDED ?

Best regards


Johnny Niska
System administrator
--------------------------------------------------
Faculty of Health Sciences
University of Copenhagen
Blegdamsvej 3b
DK-2200 Copenhagen N
Denmark
 
C

Carolyn Napier [MSFT]

1.) What is your method of deployment and what version of MSN Messenger are you
attempting to deploy? If you are using Group Policy software distribution, are
you receiving an error when attempting to deploy the package? Can you be more
specific about the problems you are seeing?

2.) Methods of deployment depend upon the target environment (OS) and rights of
users. Group Policy and SMS are first to mind (logon scripts as well, but only
if your users were actually admins). Additionally, you may find more resources
and information listed at http://www.appdeploy.com and
http://www.installsite.org.

- Carolyn Napier
Microsoft Windows Installer Team

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
MSI FAQ:
<http://www.microsoft.com/windows2000/community/centers/management/msi_faq.mspx>
 
M

Mark Sammons

Hi,

This is a problem that we have encountered as well and have, as yet,
been unable to find a satisfactory answer to.

We are trying to deploy MSN Messenger 6.1 to Windows XP workstations
via Group Policy.

When the MSI is deployed, the application fails immediately in the
Software Installation process of boot up. The error log is very
unhelpful, just throwing a "Fatal Error During Installation" bug.
Messenger has always been extremely difficult to deploy. There used
to be a workaround to deploy version 5 which involved extracting the
Merge Modules that makes up the app (even 6.1's MSI is just 3 Merge
Modules) and then removing and adding a new advertised shortcut.
However, similar attempts to resolve the installation of Version 6.x
have failed and am really at a loss of what to do next. Even the
cardinal-sin of repackaging the Messenger MSI fails to produce a valid
installer.

Any ideas?


Mark Sammons,
Computing Officer,
University of Edinburgh
 
C

Carolyn Napier [MSFT]

Looks like the MSN Messenger 6.1 package is not designed for deployment. None of
its features permit advertisement nor does it have the requisite
AdvtExecuteSequence table. The actual error that is occurring is because the
advertise script file created on the sysvol (.aas) extension is 0-bytes in size.
In essence, the package didn't have any data to advertise.

If you run rsop.msc from the start-run menu on a client machine, you can look at
the advanced details for the software installation policy to find out where the
advertise script (.aas) is actually located.

You're going to have to tweak the package for it to be deployable. Hopefully you
have Orca around (provided in the Windows Installer SDK) to edit the package.

Here's what you need to do:
1) In the Feature table, you need to change the MsgrFeat attributes value from
24 to 16 (this removes the disallow advertise attribute)
2) You need to add a populated AdvtExecuteSequence table to the package. The
easiest method is to export the AdvtExecuteSequence table from the sequence.msi
sample package included in the Windows Installer SDK. Then use the import table
functionality to import the AdvtExecuteSequence table into the messenger
package.

Here's what my AdvtExecuteSequence table looks like:
CostInitialize 800
CostFinalize 1000
InstallValidate 1400
InstallInitialize 1500
CreateShortcuts 4500
RegisterClassInfo 4600
RegisterExtensionInfo 4700
RegisterProgIdInfo 4800
RegisterMIMEInfo 4900
PublishComponents 6200
MsiPublishAssemblies 6250
PublishFeatures 6300
PublishProduct 6400
InstallFinalize 6600

Once this package is fixed up, you should be able to add it for deployment (note
that you have to fix the package before you configure it for deployment).

Hope this helps,
- Carolyn Napier
Microsoft Windows Installer Team

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
MSI FAQ:
<http://www.microsoft.com/windows2000/community/centers/management/msi_faq.mspx>
 
G

Guest

Are you sure, that this actualy works? I've tested this and it's a no go
I've tested with the latest version of MSN messenger 6.1.0207
 
S

sebastian

This doesn't work for MSN Messenger 6.2 for windows 2000
Any chance, that you have a solution for this? ;)
*Looks like the MSN Messenger 6.1 package is not designed fo
deployment. None of
its features permit advertisement nor does it have the requisite
AdvtExecuteSequence table. The actual error that is occurring i
because the
advertise script file created on the sysvol (.aas) extension i
0-bytes in size.
In essence, the package didn't have any data to advertise.

If you run rsop.msc from the start-run menu on a client machine, yo
can look at
the advanced details for the software installation policy to find ou
where the
advertise script (.aas) is actually located.

You're going to have to tweak the package for it to be deployable
Hopefully you
have Orca around (provided in the Windows Installer SDK) to edit th
package.

Here's what you need to do:
1) In the Feature table, you need to change the MsgrFeat attribute
value from
24 to 16 (this removes the disallow advertise attribute)
2) You need to add a populated AdvtExecuteSequence table to th
package. The
easiest method is to export the AdvtExecuteSequence table from th
sequence.msi
sample package included in the Windows Installer SDK. Then use th
import table
functionality to import the AdvtExecuteSequence table into th
messenger
package.

Here's what my AdvtExecuteSequence table looks like:
CostInitialize 800
CostFinalize 1000
InstallValidate 1400
InstallInitialize 1500
CreateShortcuts 4500
RegisterClassInfo 4600
RegisterExtensionInfo 4700
RegisterProgIdInfo 4800
RegisterMIMEInfo 4900
PublishComponents 6200
MsiPublishAssemblies 6250
PublishFeatures 6300
PublishProduct 6400
InstallFinalize 6600

Once this package is fixed up, you should be able to add it fo
deployment (note
that you have to fix the package before you configure it fo
deployment).

Hope this helps,
- Carolyn Napier
Microsoft Windows Installer Team

--
This posting is provided "AS IS" with no warranties, and confers n
rights.
Please do not send email directly to this alias. This alias is fo
newsgroup
purposes only.
MSI FAQ:
<http://tinyurl.com/w5ov>



-
sebastia
 
C

Carolyn Napier [MSFT]

I'll do my best :)

Ok, I downloaded the file to take a look at the package. The 6.2 package has
similar problems. As it is currently authored, it won't be advertiseable since
it won't create an advertise script. First, it's missing an AdvtExecuteSequence
table. That needs to be imported into the package using a tool like Orca (or
perhaps one of the scripts in the Windows Installer SDK -- there's a sample
sequence package included as well which would have an AdvtExecuteSequence table
to go by).

Same problem exists for the MsgrFeat as well. It's currently authored with an
attribute value of 24 which includes msidbFeatureAttributesDisallowAdvertise. It
needs to be changed to 16 as well.

This is the same as the 6.1 package. I haven't had a chance to test the actual
deployment (I'm at home without access to one of my test machines) so I'm going
by some simulation code that I wrote based upon what I know about how
application deployment works.

With the above changes, I'm able to get an advertise script that is created
(whereas before it was a 0-byte file). However, I did notice that it didn't
contain any shortcut creation operations. (HINT: If you know the location of the
..aas file, you can use the wilstscr.vbs script provided in the Windows Installer
SDK to read the script file. You can find the location of the .aas file using
RSOP.) What this means is you won't see a shortcut for messenger when you deploy
it (most likely this is what you were looking for).

If it's the shortcut that is the problem, it's because of the authoring of the
Shortcut table. The Installer will only advertise shortcuts during application
deployment that fall in a shell folder path. Note that my observation of the 6.1
messenger package shows this to be true as well and that it suffers from the
same problem.

If you look at the authoring of the shortcut table, you'll notice that the
directory is ProgramMenuFolder.ADEB440D_7847_4F65_80BD_899870ED2EC9. While
ProgramMenuFolder is a shell folder, the syntax
ProgramMenuFolder.ADEB440D_7847_4F65_80BD_899870ED2EC9 actually illustrates a
merge module convention for shell folders to prevent conflicts. The way
directories work with MSMs, there's a type 51 custom action that sets the
directory to the appropriate shell folder value. When we added the
AdvtExecuteSequence table, we didn't add this custom action to it. Thus, the
directory isn't updated. The default evaluation for the folder property is the
root drive (in my case it's c:\) which of course is not a subfolder of a shell
folder.

You could either change the
ProgramMenuFolder.ADEB440D_7847_4F65_80BD_899870ED2EC9 reference to
ProgramMenuFolder in the Directory column of the Shortcut table or you could add
the type 51 custom action to the AdvtExecuteSequence table. So, in the
AdvtExecuteSequence table, I would add the row:

Action = ProgramMenuFolder.ADEB440D_7847_4F65_80BD_899870ED2EC9
Condition = {NULL}
Sequence = 1

or some other sequence number such that the action is sequenced BEFORE the
CostInitialize action. If this doesn't work for you, perhaps you could elaborate
on what's not correct in your deployment scenario?

Hope this helps,
- Carolyn Napier
Microsoft Windows Installer Team




--
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

MSI FAQ:
<http://www.microsoft.com/windows2000/community/centers/management/msi_faq.mspx>


sebastian said:
This doesn't work for MSN Messenger 6.2 for windows 2000
Any chance, that you have a solution for this? ;)
 
Joined
Sep 25, 2007
Messages
1
Reaction score
0
I had to sign up to this site, just to say a big 'THANKS' to Carolyn Napier, who provided the above fix for deploying Live Messenger through GP.

I had been struggling with this on and off for about a week, and had tried the AdvtExecuteSequence table additions, but it was here that finally gave me the 'ProgramMenuFolder.ADEB44...' fix.

Thanks Carolyn - you're a star. my users can get back to messaging now.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top