Client Management Suite

 View Only
  • 1.  visio 2007 product code for detection rule

    Posted Mar 06, 2012 09:28 AM

    I'm trying to create a good detection rule for visio 2007 but not finding workable product code.  Does anyone have any suggestion or what they do for a product like visio 2007 that installs via s setup.exe file.

    I guess I'm looking for the best recommendations to manage a product like visio 2007 pro which is not a part of the office standard install suite but gets installed like a sub component of office.

     

    The other thing is a successful uninstall command for visio 2007 pro I seen one post (https://www-secure.symantec.com/connect/forums/visio-2007-uninstall-script) here discussing a xml file but would I then need to include this file in the package in the software library?



  • 2.  RE: visio 2007 product code for detection rule

    Posted Mar 06, 2012 10:40 AM

    Use a registry detection.  If you installed Visio 2007 32-bit on Windows 7 64-bit, for example, you'd find it at HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall, then do a find for Visio.  You want the full entry (not an add-on or Service Pack or hotfix) that includes the VersionMajor and VersionMinor keys.  Visio 2007 is VersionMajor 12.

    32-bit apps on 32-bit Windows is HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

    Does this help?



  • 3.  RE: visio 2007 product code for detection rule

    Posted Mar 06, 2012 10:59 AM

    mclemson the problem is there are like 9 entries at this level for visio.



  • 4.  RE: visio 2007 product code for detection rule

    Posted Mar 06, 2012 01:43 PM

    See here for Office 2003:

    http://support.microsoft.com/kb/832672

    Office 2007:

    http://support.microsoft.com/kb/928516

    Office 2010:

    http://support.microsoft.com/kb/2186281

    Or you can run a report:

    DECLARE @v1_TrusteeScope nvarchar(max)
    SET @v1_TrusteeScope = N'%TrusteeScope%'
    SELECT     Distinct DisplayName, DisplayVersion, UninstallPath
    FROM         dbo.Inv_AddRemoveProgram
    WHERE     (DisplayName LIKE N'%Software Name%')

    With Software Name as a Basic String Parameter



  • 5.  RE: visio 2007 product code for detection rule

    Posted Mar 07, 2012 04:18 PM

    nice piece of information I will try this out but it is 90120000-0051-0000-0000-0000000FF1CE.



  • 6.  RE: visio 2007 product code for detection rule

    Posted Mar 07, 2012 04:55 PM

    hence the difference.



  • 7.  RE: visio 2007 product code for detection rule

    Posted Mar 07, 2012 05:46 PM

    Well the msi product code works like a charm thanks for that!  Now I need to test uninstall.  Do you have a command for a silent uninstall?



  • 8.  RE: visio 2007 product code for detection rule

    Posted Mar 07, 2012 06:56 PM
     /l*v "%temp%\visio2010UN.log"

    if you want to get clever.



  • 9.  RE: visio 2007 product code for detection rule

    Posted Mar 08, 2012 10:30 AM

    That command (MsiExec.exe /X{90120000-0051-0000-0000-0000000FF1CE} /QN) was exactly what I had in for an uninstall test and it worked!!

    But...

    for some reason before the uninstall really even got underway it already returned an error code of 1603 in the agent and said failed.  Even though the window was up saying uninstalling Visio and it fully uninstalled the product.  I guess I could add to the command a 1603 success code but figure that is not the best code to add to a success list.

    Have you seen this and any ideas on working around this?



  • 10.  RE: visio 2007 product code for detection rule

    Posted Mar 08, 2012 12:44 PM

    Then you can see why it's failing.

     start "" /wait msiexec /x {90120000-0051-0000-0000-0000000FF1CE} /qn /l*v "%temp%\visio2010UN.log"


  • 11.  RE: visio 2007 product code for detection rule

    Posted Mar 14, 2012 02:00 PM

    for some reason adding this uninstall command completely fails. return code: -2147024894

    start "" /wait MsiExec.exe /X{90120000-0051-0000-0000-0000000FF1CE} /QN /l*v "c:\rislog\visio2007UN.log"

    it won't even start a log file.

    also tried with same result:

    start "" /wait MsiExec.exe /X {90120000-0051-0000-0000-0000000FF1CE} /QN /l*v "%temp%\visio2007UN.log"