Add/Remove Programs - export to text file?

Hello,
I am wondering if it is possible to export a list of everything in add/remove programs to a text file for inventory purposes.
I have not found any easy method to do this short of copying reg files or installer 3rd party software.  Since the idea is to save time neither of those are viable solutions.
Does anyone have any ideas?
-Justin

You could try this vbs script that lists installed programs and add info to a text file.
Michael Petersen
Option Explicit  
Dim sTitle  
sTitle = "InstalledPrograms.vbs by Bill James" 
Dim StrComputer  
strComputer = InputBox("Enter I.P. or name of computer to check for " & _  
                       "installed software (leave blank to check " & _  
                       "local system)." & vbcrlf & vbcrlf & "Remote " & _  
                       "checking only from NT type OS to NT type OS " & _  
                       "with same Admin level UID & PW", sTitle)  
If IsEmpty(strComputer) Then WScript.Quit  
strComputer = Trim(strComputer)  
If strComputer = "" Then strComputer = "." 
'Wscript.Echo GetAddRemove(strComputer)  
Dim sCompName : sCompName = GetProbedID(StrComputer)  
Dim sFileName  
sFileName = sCompName & "_" & GetDTFileName() & "_Software.txt" 
Dim s : s = GetAddRemove(strComputer)  
If WriteFile(s, sFileName) Then 
  'optional prompt for display  
  If MsgBox("Finished processing.  Results saved to " & sFileName & _  
            vbcrlf & vbcrlf & "Do you want to view the results now?", _  
            4 + 32, sTitle) = 6 Then 
    WScript.CreateObject("WScript.Shell").Run sFileName, 9  
  End If 
End If 
Function GetAddRemove(sComp)  
  'Function credit to Torgeir Bakken  
  Dim cnt, oReg, sBaseKey, iRC, aSubKeys  
  Const HKLM = &H80000002 'HKEY_LOCAL_MACHINE  
  Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _  
              sComp & "/root/default:StdRegProv")  
  sBaseKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" 
  iRC = oReg.EnumKey(HKLM, sBaseKey, aSubKeys)  
  Dim sKey, sValue, sTmp, sVersion, sDateValue, sYr, sMth, sDay  
  For Each sKey In aSubKeys  
    iRC = oReg.GetStringValue(HKLM, sBaseKey & sKey, "DisplayName", sValue)  
    If iRC <> 0 Then 
      oReg.GetStringValue HKLM, sBaseKey & sKey, "QuietDisplayName", sValue  
    End If 
    If sValue <> "" Then 
      iRC = oReg.GetStringValue(HKLM, sBaseKey & sKey, _  
                                "DisplayVersion", sVersion)  
      If sVersion <> "" Then 
        sValue = sValue & vbTab & "Ver: " & sVersion  
      Else 
        sValue = sValue & vbTab   
      End If 
      iRC = oReg.GetStringValue(HKLM, sBaseKey & sKey, _  
                                "InstallDate", sDateValue)  
      If sDateValue <> "" Then 
        sYr =  Left(sDateValue, 4)  
        sMth = Mid(sDateValue, 5, 2)  
        sDay = Right(sDateValue, 2)  
        'some Registry entries have improper date format  
        On Error Resume Next   
        sDateValue = DateSerial(sYr, sMth, sDay)  
        On Error GoTo 0  
        If sdateValue <> "" Then 
          sValue = sValue & vbTab & "Installed: " & sDateValue  
        End If 
      End If 
      sTmp = sTmp & sValue & vbcrlf  
    cnt = cnt + 1  
    End If 
  Next 
  sTmp = BubbleSort(sTmp)  
  GetAddRemove = "INSTALLED SOFTWARE (" & cnt & ") - " & sCompName & _  
                 " - " & Now() & vbcrlf & vbcrlf & sTmp   
End Function 
Function BubbleSort(sTmp)  
  'cheapo bubble sort  
  Dim aTmp, i, j, temp  
  aTmp = Split(sTmp, vbcrlf)    
  For i = UBound(aTmp) - 1 To 0 Step -1  
    For j = 0 to i - 1  
      If LCase(aTmp(j)) > LCase(aTmp(j+1)) Then 
        temp = aTmp(j + 1)  
        aTmp(j + 1) = aTmp(j)  
        aTmp(j) = temp  
      End if  
    Next 
  Next 
  BubbleSort = Join(aTmp, vbcrlf)  
End Function 
Function GetProbedID(sComp)  
  Dim objWMIService, colItems, objItem  
  Set objWMIService = GetObject("winmgmts:\\" & sComp & "\root\cimv2")  
  Set colItems = objWMIService.ExecQuery("Select SystemName from " & _  
                                         "Win32_NetworkAdapter",,48)  
  For Each objItem in colItems  
    GetProbedID = objItem.SystemName  
  Next 
End Function 
Function GetDTFileName()  
  dim sNow, sMth, sDay, sYr, sHr, sMin, sSec  
  sNow = Now  
  sMth = Right("0" & Month(sNow), 2)  
  sDay = Right("0" & Day(sNow), 2)  
  sYr = Right("00" & Year(sNow), 4)  
  sHr = Right("0" & Hour(sNow), 2)  
  sMin = Right("0" & Minute(sNow), 2)  
  sSec = Right("0" & Second(sNow), 2)  
  GetDTFileName = sMth & sDay & sYr & "_" & sHr & sMin & sSec  
End Function 
Function WriteFile(sData, sFileName)  
  Dim fso, OutFile, bWrite  
  bWrite = True 
  Set fso = CreateObject("Scripting.FileSystemObject")  
  On Error Resume Next 
  Set OutFile = fso.OpenTextFile(sFileName, 2, True)  
  'Possibly need a prompt to close the file and one recursion attempt.  
  If Err = 70 Then 
    Wscript.Echo "Could not write to file " & sFileName & ", results " & _  
                 "not saved." & vbcrlf & vbcrlf & "This is probably " & _  
                 "because the file is already open." 
    bWrite = False 
  ElseIf Err Then 
    WScript.Echo err & vbcrlf & err.description  
    bWrite = False 
  End If 
  On Error GoTo 0  
  If bWrite Then 
    OutFile.WriteLine(sData)  
    OutFile.Close  
  End If 
  Set fso = Nothing 
  Set OutFile = Nothing 
  WriteFile = bWrite  
End Function 
Deploy deploy deploy

Similar Messages

  • Firefox crashed 2 days ago and will now not open, and won't uninstall via Control panel add/remove programs; the files are still there on Windows Explorer. IE8 still works.

    My PC is a fujitsuscaleo 600, last year I had a new hard drive and some extra RAM fitted and since then has been good - have used, and updated Firefox for over 6 years. in August I installed TrendMicro antivirus and for different reasons this has been uninstalled/re-installed twice. AFter letting it expire, I re-installed ParetoLogic PC health advisor (I think in August too)and allowed it to try updating some graphics drivers following a scan - this was unsuccessful so I marked them to ignore (something about my graphics card not supporting the drivers downoladed). I can see the mozilla files on WIndow Explorer but if I click 'remove' (control panel, add/remove programs) I get a very short 'hourglass' then nothing; if I click Firefox icon I get the same. Help!

    See:
    * https://support.mozilla.com/en-US/kb/Firefox%20will%20not%20start

  • Firefox is not available in C:\Program Files and in Add/Remove Programs

    I am trying to run an Oracle application which is currently installed in one of our user's PCs, but when we try to generate a report it would fail to do so as Mozilla Firefox is installed on the system and I believe it is set as the default browser. I tried to uninstall it as it is not required anymore, but to my shock I didn't find it in Add\Remove Programs list and also not in C:\Program Files. I tried installed Windows Clean-Up utility, but the application doesn't exist there either. I want to remove Mozilla completely, can someone please help?!! By the way, I also deleted the Mozilla files under the Application Data of all user accounts on that machine; still no luck.

    I believe that it's a good idea to leave them be JUST in case they installed a dependency that a new application is using.
    This isn't exactly likely but it could happen.
    When I'm uninstalling applications I use a tool called
    Revo Uninstaller  which finds files and registry entries that applications might leave behind.
    Will your machine explode and Windows stop booting? Probably not.
    Are these left-over files destroying your Hard Drive capacity? Again, Probably not.
    Basically, I can't think of much of a reason to delete them so I think it's decent to leave them just in case, but again it probably wont do any damage. Running an third-party application like
    CCleaner is also good practice and could likely delete some of the unwanted/unneeded files and crud like that.
    Also, most application settings are usually present in the C:\Users\UserAccount\Application Data\ and not in the Program Files or Program Data.
    Goodluck bud,
    Any questions or concerns feel free to let me know.
    -Bryan
    Microsoft MCSA, VMWare VCAP-DTD, Cisco CCNP, CompTIA A+, Security+, Network+, Apple ACMT, SPR

  • How do I uninstall firefox when I cannot find it in 'add/remove program'

    I am trying to uninstall firefox from my window 7 notebook but I cannot find it under 'add/remove program' in control panel. I have come across suggestion to delete the Mozilla firefox folder from program x86 but I worry that this method may create problem by leaving orphans in the registry.

    The uninstall instructions are here
    * [[Uninstall Firefox from your computer]]
    You appear not to be posting from Firefox and so I wonder have you already uninstalled it ?
    Uninstalling, gives you an option to leave behind personal information. If you will never use Firefox again you may not need that and the Firefox profile may be deleted. Possibly the profile folder is what you are seeing. Note the profile contains your Firefox bookmarks and normally if uninstalling Firefox you may wish to first of all export those as HTML that may be used elsewhere as bookmarks / favourites.
    * [[Profiles - Where Firefox stores your bookmarks, passwords and other user data]]
    * [[Export Firefox bookmarks to an HTML file to back up or transfer bookmarks]]

  • I have installed Adobe Premiere Pro cc on my laptop, but I cant find a way to start the program. No Icon, and it is not showing up in the start meny. It is showing up in add/remove programs, but nt anywhere else.

    I have installed Adobe Premiere Pro cc on my laptop, but I cant find a way to start the program. No Icon, and it is not showing up in the start meny. It is showing up in add/remove programs, but nt anywhere else.

    If you are using a Mac, simply hit Command-Spacebar to bring up Spotlight Search.  Begin typing the name of the application and when you see what you are looking for, press enter.  You should get a hit by the second or third letter you type.  Great way to launch apps on computers that you are not familiar with.
    Windows 7 and 8 should have something similar.  I think you simply press the Windows key and begin typing.  Press enter when you see a match.
    Both Mac and Windows search tools can be customized to search for applications, files, emails and so forth.  For Windows, look for Taskbar and Start Menu Properties.  For Mac, go to Preferences Spotlight.  Turn off items you know you won't need to speed up searches.
    Make Windows 7 Start Menu Search Find Your Applications Faster

  • Custom icon in Windows Add/Remove Programs list

    Hi all,
    I am developing a software with Labview 2011/2012.
    When I am creating an installer for my application I am configuring icon section and I can see my icon in windows All programs section.
    And I want to see this icon also in windows Control Panel/Programs and Features section. In the list of installed applications my application is without an icon I have specified.
    Anybody faced with this issue? Have any idea how to figure out this?
    I have also found some thread about this, but I am wondering if some new experience available since this post.
    https://forums.ni.com/t5/LabVIEW/Generic-icon-in-Add-Remove-Programs-list/td-p/1241508
    Thanks in advance
    Attachments:
    LV.jpg ‏73 KB

    Yeah, I can't seem to come up with any other way.
    But for the product ID try these steps.
    To determine the value of ProductID:
    Open the setup.ini file that was created with the installer.
    Near the bottom, in the install.msi section, there is a key called ProductId.
    The value of ProductId should be substituted in the registry key chain listed above.
    Daniel P.

  • How  do I unstall elements 6 in XP it's not in Add/Remove Programs

    I had elents 6 and when I installed 7 it said I didn't have to remove 6, so I didn't, just in case I didn't like 7 or needed 6.  Then I forgot about 6 being there and when I installed 8 it said I didn't have to uninstall 7, so I didn't uninstall it either.  Now I found 6 and want to uninstall it but it is not in Add/Remove Programs,  I searched the KB and it said when it couldn't be uninstalled with Add/remove you could do it manually.  then the directions for manual uninstall says Open Control Panel, go to Add/Remove programs, and uninstall Elements 6.  So it says essentially "if you can't do "This", then "Do This".
    After listening to music for about 40 minutes on the telephone, the Tech Support guy said I would have to pay him $40, or go to the KB .  I told him that the information in the KB was wrong when you searched "Uninstall Elements 6" and he said the only thing I could do was pay him $40, non refundable, and that if something went wrong with one of the other Adobe programs I would have to pay them to fix that!
    ANY SUGGESTIONS. . . PLEASE, otherwise I'll just leave 2,000+ files that take up half a gig, and hope it doesn't give me other problems in the future.  I was considering just deleting the Elements 6 folder and then use system mechanic to fix the registry.  or IF I can find the original CD, can I use it to uninstall it, or could I reinstall it, without it screwing up my 7 and 8, and see if it shows up in "Add/Remove Programs"?

    Find the original CD and launch the Setup.  If it doesn't give you the option of removing the current installation, install PSE 6 again and then uninstall it from the Control Panel.
    If that doesn't work, then you can follow the instructions in the tech note that you were reading:
    http://kb2.adobe.com/cps/408/kb408483.html
    Just skip the first section, "Run the Photoshop Elements 6 Uninstaller".  The remaining sections will lead you through a manual removal.  (I agree that the instructions are confusing.)
    But it's better to do reinstall and then uninstall if you can.

  • Remove labview 2009 without using add/remove program

    Hi all,
    I have problem with removing LabVIEW 2009.
    I have deleted some folders in C drive, NI folder.
    Now I can't run my LabVIEW 2009 and it doesn't show up in my add/remove program list.
    I tried to delete all folder and files in C drive under NI folder, but error message pop out shows that I do not have the authority to do so.
    So, how can I remove it completely ?
    I intended to reinstall LabVIEW 2009 after I have removed it completely.
    Appreciate your help very much.
    Solved!
    Go to Solution.

    That is why I say try to reinstall LabVIEW. It might just do a repair of your installation. Then you can use add/remove programs to completely uninstall it.
    But when you completely uninstall it there will be NI folders remaining. These are things like user.lib.
    Have you tried to reinstall the runtime engine?
    One last thing. I don't know how you got your install so messed up but remember that if you build an installer you should not install that onto a system with the development environment. There are so many things that can go wrong.
    =====================
    LabVIEW 2012

  • Photoshop CC & CS6 doesn't appear in Windows Add/Remove programs

    I have 2 versions of Photoshop on my Windows 7 Pro system.  CS6 I own outright and I subscribe to CC as part of a larger suite from Adobe.  I prefer CS6 and have been trying to associate .TIF files to CS6, but it won't let me.  It keeps reverting to CC, no matter what I do.  I decided to uninstall CC (even tho I'm paying a monthly fee for it), but the programs do not appear in Windows Add/Remove programs screen.  In a search of the registry, I find HKLM/Software/Microsoft/Windows/Current Version/Uninstall a very long list of the program available for uninstall, and buried in some obscure Microsoft VC headings are some Adobe programs.  There are no uninstallers in the Adobe program directories, so I can't uninstall these no matter what I try.  Neither Dreamweaver or Flash appear in Add/remove either.  Is this natural?  Is there some problem I'm not aware of?  Thanks for any help and info.

    Thank you.  That solved that problem.  I still can't get Windows 7 to associate TIF files to Photoshop.  It's associated to it in Bridge, but when I try in Windows control panel, the file shows as being associated to Paint.  When I try to change it, Photoshop is not even on the list of available programs.  When I Browse to the directory and click Photoshop.exe, nothing happens. The association doesn't change and Photoshop does not appear as a choice.  So I have no idea what to try next.

  • How do I uninstall photoshop elements 6 (windows) when there is not option in add-remove programs

    How do I uninstall photoshop elements 6 (windows) when there is not option in add-remove programs.  I have looked on my hard drive extensively for a library or utility folder that would have an uninstall program, nothing.  I want to install Elements 9, but have found out that Elements 9 does not remove Elements 6, so I want to remove elements 6 first.

    Strange that PSE6 does not show up via the control pane.
    I wouldn’t worry about uninstalling it. The two versions sit happily side by side and PSE6 takes up hardly any file space compared with PSE9.

  • ITunes nor iPod Updater  is listed in Add/Remove Programs

    Please help! The Ipod updator nor iTunes is listed in the add/remove programs list. Can you help? Is it safe to delete the iTunes folder in program files and just reinstall?

    hi Bryce!
    when you find yourself in this situation, first download the Windows Installer Cleanup utility, and use it to remove installation registry entries for your Quicktime, iTunes and Ipod Updater:
    Description of the Windows Installer CleanUp Utility
    and then use the clean uninstall instructions in this user tip as a guide for a complete manual uninstall:
    Da Gopha: Stepwise clean uninstallation of iTunes
    keep us posted.
    love, b

  • CS4 No longer in Add/Remove Programs

    I installed CS4 Master Collection on my computer and had a lot of problems with it, so I decided to wipe it from my system and start over. This wasn't happening for me as it said the software was damaged.
    I did a bit of research online and found that I could install a file from Adobe called CleanUp, which seemed to work at first, so I checked into the Add/Remove Programs to see if it was still installed. It was in the list, so I thought Adobe CleanUp didn't work so I tried again to uninstall from Add/Remove programs - It just popped up a message saying the software may have been already uninstalled, would I like to remove it from the Add/Remove Programs list, so I selected Yes.
    But after a final check to see if CS4 really had gone, I went into the directory I first installed CS4 to, the files were still there (note: I have a custom install folder other than C:\Program Files, I save software installations to D:\Programs as my HD is partitioned and I use Vista which takes up a lot of space and the C:\ drive hardly has any to begin with, I know I know, but it came like that from the manufacturer).
    So now, I can't uninstall CS4, manually or through Add/Remove Programs. I even tried to install CS4 again to see if it would just write over the current installation, but that wasn't happening for me. If anyone has any ideas or advice what I can do, that'd be great. If there is absolutely no way I can remove it, would deleting the CS4 folder cause any problems, especially as I reverted back to CS2 (the only other CS version I have right now).
    - DawnDesigner

    It's a really mix to remove the CS4, in my personal opinion you probably have two options.
    1. to try to install the suite again a remove it
    2. to manually remove the folder where you install the software and through register remove from the list of add/remove software the unusable entrance for Adobe CS4
    a) run the utility regedit.exe
    b) if I'm not in a mistake it should be localized in HKLM\Software\Microsoft\windows\curren version\uninstall\
      b.1) look arround the name that appear in the hives and just remove such which will be for the adobe CS4
    Take a look also in
    http://support.microsoft.com/kb/247501 and http://support.microsoft.com/kb/314481
    But first than all I recommend try to install again the suite a remove it.
    by the way I hope your experience with Clean Script does not turn in a nightmare like in my case, which after running it, some links to re reference got damage as the help of MS office does not work anymore because xml files is not related to the right program or the starting of software like Windows Defender.
    Good Luck

  • I want to uninstall but it does not appear in Add/Remove Programs

    I use Firefox 2.0.0.12. When I accessed today I was aked to install an update, now the thing won't even start up. Message is "firefox.exe has encountered a problem and needs to close. We are sorry for the inconvenience. " I have been on your help site and am told to uninstall it, but it does not appear in Add/Remove Programs list. How can I uninstall it?

    I found an uninstall file in the Mozilla firefox program files and successfully uninstalled the old version of firefox. I have now installed v3.6.13 and all seems OK. Does anyone anticipate any other problems?

  • How to uninstall Firefox if Add/Remove programs won't work?

    My Firefox is completely unresponsive. I can't get a browser or anything. I just grabbed the application folder and threw it in the trash, because the add/remove program function did nothing. I also cannot download the newest version of Firefox. It tries, but then says, "Your download was interrupted".
    How can I make sure I've removed ALL of the old Firefox and what can I do to download the new one?

    Hello,
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!
    Thank you.

  • When I look in Add/Remove Programs in the Control Panel it reports Firefox as 5.44GB. Could this be true? If so how do I reduce the amount of space it is taking up?

    When I look in Add/Remove Programs in the Control Panel it reports Firefox as 5.44GB. Could this be true? If so how do I reduce the amount of space it is taking up?

    It is quite common for the program size listings to be wrong. To check the actual size of the Firefox installation, you can manually check the size of the Firefox [http://kb.mozillazine.org/Installation_directory installation directory]. It is is typically around 26-30Mb, and the default location on 32 bit Windows is C:\Program Files\Mozilla Firefox\
    There are also a couple of other locations where Firefox stores data, check the size of the following folders as well.
    Firefox also stores user data such as bookmarks and passwords in the [[profiles|profile folder]]. It should be inside this folder C:\Users\''username''\AppData\Roaming\Mozilla\Firefox\Profiles\
    Firefox stores temporary files in the cache. To find the location of the cache, type '''about:cache''' into the location bar. It should be inside this folder C:\Users\''username''\AppData\Local\Mozilla\Firefox\Profiles\
    The last 2 folders are normally hidden, you may need to set Vista to [http://www.bleepingcomputer.com/tutorials/tutorial130.html show hidden files and folders].

Maybe you are looking for

  • How do I access video in my shared folder from iMovie on my iPad?

    I shot video on my iPhone and put it in a shared folder on iCloud. I can access this video on my iPad in the Photo app in the shared folder but this video is not available in iMovie on the same iPad. How do I make this available? Thanks!

  • How to upload size 4k file to oracle BLOB field

    hi all, i'm using Oracle 9i, Orcale JDBC thin Driver and ibm websphere to develop a java application.i have used java EJB/CMP to insert images into BLOB field in oracle. i used byte[] mapping to BLOB.i did it successfully. however, i'm facing another

  • Upgrading weblogic.xml from 6.1 to 8.1

    I'am upgrading form weblogic 6. to weblogic 8.1. I have a problem upgrading my weblogic.xml, i get this message when i validate the xml file: The content of element type "weblogic-web-app" must match "(description?,weblogic-version?,security-role-ass

  • Move Media Player plug In

    We've purchased (updgraded from snow leapord) a mac osx x v10.7 lion and have been having issues with installing our kids leap frog application. We've followed every step from the tech support gurus at leapfrog customer support and nothing works. We'

  • SAP import the part of system copy.

    Dear Experts, I am doing SAP import the part of system copy.  Every phase is complete successfully but in u201C Create Database Schema u201C status bar i got information u201C remove schema user SAPSR3u201D. This step is running since 10 hours.  Is t