If you're up to date, you can do attribute mapping in your profiles.xml: <profile id="office"> <!-- install office2k3 only on Windows XP --> <package package-id="office2k3" os="professional.+5\.1\.\d{4}"/> <!-- install office2k10sp1 only on Windows 7 --> <package package-id="office2k10sp1" os="professional.+6\.1\.\d{4}"/> </profile> More info here: http://wpkg.org/Extended_host_attribute_matching Cheers! On Apr 3, 2012, at 12:32 AM, Mikhail Joseph Salviejo wrote: > 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 at lists.wpkg.org > http://lists.wpkg.org/mailman/listinfo/wpkg-users --- Geoff Brown IT Services, SFU Surrey Campus Phone : 778-782-7472 Cellular: 604-786-7757 IM: geoffreb at jabber.sfu.ca _______________________ Simon Fraser University Surrey 250 - 13450 102nd Avenue Surrey, BC V3T 0A3 |