JScript Posted September 7, 2014 Share Posted September 7, 2014 @wakillonThis is not an elegant solution, is more like "ignorance"! Let it go, do not worry about it...JS http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere! Link to comment Share on other sites More sharing options...
wakillon Posted September 7, 2014 Share Posted September 7, 2014 If you want an elegant solution try SRWare Iron AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
Rich071 Posted September 7, 2014 Share Posted September 7, 2014 (edited) @Danyfirex, The latest fixed the blank versions, matching, Windows. What I may do with this, is to extract the version, out of the name, to fill in the blank versions. If the version is not in the name, then get the version from the actual main executable. My main purpose, is to compare two Windows installations easily. The publisher's name, since some of those are also blank and a little concern for me. I also noticed, that not all the updates are showing as well. The only importance this would be, would be find, if a particular update is installed, that could be causing problems. ie., In the last two Windows updates, there were a few patches that affected VMware products, causing mouse and keyboard issues in Guest VM's. I also noted, after sorting the array, it is not picking up all the programs. After a quick visual, I have two entries for a USB video adaptor, I use for a third monitor, from Display Link. Another one, that surprised me by not showing up, was WinRAR. I am including the missed programs, and there may be a few more, after I do a true comparision, as a reference, in case there is another NON standard way that Windows is picking these up. Thanks again for your script. edited spelling Edited September 7, 2014 by Rich071 Link to comment Share on other sites More sharing options...
Danyfirex Posted September 7, 2014 Author Share Posted September 7, 2014 Update. Now can get all this $AIM_DISPLAYNAME, $AIM_VERSION, $AIM_PUBLISHER, _ $AIM_PRODUCTID, $AIM_REGISTEREDOWNER, $AIM_REGISTEREDCOMPANY, $AIM_LANGUAGE, _ $AIM_SUPPORTURL, $AIM_SUPPORTTELEPHONE, $AIM_HELPLINK, $AIM_INSTALLLOCATION, _ $AIM_INSTALLSOURCE, $AIM_INSTALLDATE, $AIM_CONTACT, $AIM_COMMENTS, _ $AIM_IMAGE, $AIM_READMEURL, $AIM_UPDATEINFOURL Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Rich071 Posted September 7, 2014 Share Posted September 7, 2014 @Danyfirex, Wow, you have everything in there execpt the kitchen sink. FYI, the actual Install dates, show up here under Column 12, unformatted, "20140815", which is not a big deal. Under. "InstallDate", the only items that are populated, are some the Windows updates, and that is only done partially, as most are blank. The data appears to be GUID's. For the regular applications, like Office 2007 Pro and Visio 2007 Pro. they are actually showing the Product ID's, confirmed, under the Installed Date and the rest of the regular apps are blank. I'm using, Windows 7 SP1 x64 US version. Hope the feedback helps. Thanks, Link to comment Share on other sites More sharing options...
Danyfirex Posted September 7, 2014 Author Share Posted September 7, 2014 Update. Now return format date. Thank you Rich071. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Rich071 Posted September 7, 2014 Share Posted September 7, 2014 @Danyfirex, FYI, concerning the Display Link, WinRAR and others that were not showing up, I tried a compiled x64 version of your code and my install count went from 193 to 230 with your script. I should have known better. Thanks for a great script and all the updates. If I notice anything else, I will let you know. Rich071 Link to comment Share on other sites More sharing options...
qwert Posted September 7, 2014 Share Posted September 7, 2014 Thanks for the update with the formatted date. Can it be in the Install Date column? ... or does is have to display in Col 12? Link to comment Share on other sites More sharing options...
Danyfirex Posted September 7, 2014 Author Share Posted September 7, 2014 I will update to better output array. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Danyfirex Posted September 10, 2014 Author Share Posted September 10, 2014 Update. Now output Array columns are define by number of flags. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
kaesereibe Posted September 11, 2014 Share Posted September 11, 2014 why not using Win32_Product class?same like wmic for cmdwmic /output:C:\InstallList.txt product get name,version,vendor,installdate BIN 2 DEC | ConvertTemp | DEC 2 BIN | GetWeekday | HEX 2 RGB | INT 2 HEX | QueryPerformance Link to comment Share on other sites More sharing options...
JohnOne Posted September 11, 2014 Share Posted September 11, 2014 why not using Win32_Product class?same like wmic for cmdwmic /output:C:\InstallList.txt product get name,version,vendor,installdateBecause than it would not be an ObjCreateInterface example would it. Danyfirex 1 AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
gracea Posted September 11, 2014 Share Posted September 11, 2014 Danyfirex.. Thanks for the code - loving it. I'll tweak it for my needs. :P " Loved It ! " :wub: Link to comment Share on other sites More sharing options...
Chimaera Posted September 13, 2014 Share Posted September 13, 2014 Hey Dannyfirex just ran this on a work comp win 7 x64 and it doesnt find all the installed items Hope this helps If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
Danyfirex Posted September 13, 2014 Author Share Posted September 13, 2014 Did You compile for x64? If was compile for x86 just it will list only x86 applications. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Chimaera Posted September 13, 2014 Share Posted September 13, 2014 hmm ok and if i do it for 64 does it just show 64? If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
Danyfirex Posted September 13, 2014 Author Share Posted September 13, 2014 I should show same as Add/Remove Programs. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Earthshine Posted November 14, 2017 Share Posted November 14, 2017 (edited) lol, there is a pair of registry keys you can enumerate to get all installed apps. installers know how to do this. each installation entry contains the string that uninstalls the product! that is how I have my installers do things. look up the id, get rid of old junk first, install new set. I used log4a and RegSearch from here to show how easy a registry search can be log4a.au3 RegSearch.au3 WhatIsInstalled.au3 Edited November 14, 2017 by Earthshine My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted November 14, 2017 Moderators Share Posted November 14, 2017 49 minutes ago, Earthshine said: there is a pair of registry keys you can enumerate to get all installed apps. installers know how to do this. each installation entry contains the string that uninstalls the product Not to derail the thread too much but there are applications for which this is not the case, especially when it comes to the uninstall string; it is up to the repackager to ensure that value is there and frankly some high profile commercial products suck when it comes to this detail. During my time repackaging software into MSIs for companies we would employ a mixture of WMI and registry for as close to complete results as one could expect. Earthshine 1 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Earthshine Posted November 14, 2017 Share Posted November 14, 2017 @JLogan3o13, i was raised right when creating installers, msi or otherwise, but i realize not everyone cares as much. thanks for that valuable insight. My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now