Hi, there,

if you are using only office 2010 and 2003, then you can use simple uninstall check, that prevents installing sp1 in case office 2003 exists.

!! not sure about correct path for 2003..

<package id="office2k10sp1" name="Microsoft Office 2010 SP1" revision="2460049" reboot="false" execute="once" priority="998">

<check type="logical" codition="or">
        <check type="uninstall"  condition="exists" path="Microsoft Office 
2003"/>
<check type="uninstall" condition="exists" path="Microsoft Office 2010 Service Pack 1 (SP1)"/>
</check>

<check type="registry" condition="equals" path="HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{90140000-0016-0409-0000-0000000FF1CE}\DisplayVersion" value="14.0.6029.1000" /> <check type="registry" condition="equals" path="HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{90140000-001B-0409-0000-0000000FF1CE}\DisplayVersion" value="14.0.6029.1000" />

<install cmd='"%SOFTWARE%\office\officesuite2010sp1-kb2460049-x86-fullfile-en-us.exe" /quiet /norestart' />

</package>

Look at this example with adobe it's the same thing http://wpkg.org/Packages.xml#Logical_Conditions .

Hope it helps..


Dne 3.4.2012 9:32, Mikhail Joseph Salviejo napsal(a):
Good day to all WPKG users ^_^

I would like to ask someone if they could help me with my problem.

I would like to filter out the installation of the MS Office 2010 SP1 to
our system.

Not all of our Windows 7 PC, are using Office 2010,

Also not all of our Windows XP PC are using Office 2003.

This PC has different profile one is rd_win7, and the other one is rd_winxp

I have already tested out installing Office 2010 SP1 to one PC that has
2010 Office,

using this package.

*<package id="office2k10sp1" name="Microsoft Office 2010 SP1"
revision="2460049" reboot="false" execute="once" priority="998">

<check type="uninstall"  condition="exists" path="Microsoft Office 2010
Service Pack 1 (SP1)"/>
<check type="registry" condition="equals"
path="HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{90140000-0016-0409-0000-0000000FF1CE}\DisplayVersion"
value="14.0.6029.1000" />
<check type="registry" condition="equals"
path="HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{90140000-001B-0409-0000-0000000FF1CE}\DisplayVersion"
value="14.0.6029.1000" />

<install
cmd='"%SOFTWARE%\office\officesuite2010sp1-kb2460049-x86-fullfile-en-us.exe"
/quiet /norestart' />

</package>*

Now I would like to put filter on this, so that It wouldn't run on the
systems that don't have Office 2010

Thank You for your help :)

--
Mikhail Joseph G. Salviejo
Assistant System Administrator
Training and Standards Unit
ROHM LSI Design Philippines Inc.
10/F Anson's Center
23 ADB Avenue Ortigas Center,
Pasig City 1605 Philippines
Tel. No. 706-3117 ROHM Internal: 744-213
Fax No. 706-3113 ROHM Internal: 744-260



-------------------------------------------------------------------------
wpkg-users mailing list archives>>  http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

--
S pozdravem
Matěj Semián

Stavební bytové družstvo POKROK
Kollárova 157/18, Praha 8
tel. 225 339 402

-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to