Click here to Skip to main content
16,008,490 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: mouse cursor in console application Pin
David Crow11-Nov-03 5:58
David Crow11-Nov-03 5:58 
GeneralRe: mouse cursor in console application Pin
Alvaro Mendez11-Nov-03 6:01
Alvaro Mendez11-Nov-03 6:01 
GeneralRe: mouse cursor in console application Pin
imranhabib11-Nov-03 11:09
imranhabib11-Nov-03 11:09 
Generaltwo Questions! Help! Pin
andylaw11-Nov-03 3:47
andylaw11-Nov-03 3:47 
GeneralRe: two Questions! Help! Pin
Antti Keskinen11-Nov-03 10:33
Antti Keskinen11-Nov-03 10:33 
GeneralPorting to PDA Pin
georgiek5011-Nov-03 3:38
georgiek5011-Nov-03 3:38 
GeneralInstalled Apps via WMI or Other Pin
JerryFW11-Nov-03 2:59
JerryFW11-Nov-03 2:59 
GeneralRe: Installed Apps via WMI or Other Pin
Heath Stewart11-Nov-03 3:56
protectorHeath Stewart11-Nov-03 3:56 
They only list MSI packages because the MSI runtime (msiexec) keeps a database of installed products. The WMI provider simply queries this database.

Other setups all work differently. InstallShield (not their MSI package, which goes for everything else mentioned forthwith unless otherwise stated) works differenly from Wise and does seem to keep an internal database of components, those it doesn't seem to happen for packages (speaking in MSI terms here). An up-and-coming install by Nullsoft (makers of Winamp) is very basic and doesn't seem to do anything but keep a log of what was done so it can be uninstalled (sort of like a DB transaction).

The only thing these installation methods have in common is that they almost always (some Windows Update components don't because you can't uninstall them) write to the registry key HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall. You could browse through there and see what registry keys are useful and pretty consistent, like the DisplayName and UninstallString.

As far as querying these, there is - I believe - a WMI provider for the registry. It's been a while since I've played with WMI so I apoligize. If nothing else, registries can be queried remotely by someone with the appropriate permissions, which WMI (or the responsible provider) will most likely enforce anyway.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Installed Apps via WMI or Other Pin
JerryFW11-Nov-03 4:11
JerryFW11-Nov-03 4:11 
GeneralRe: Installed Apps via WMI or Other Pin
Heath Stewart11-Nov-03 6:22
protectorHeath Stewart11-Nov-03 6:22 
GeneralRe: Installed Apps via WMI or Other Pin
JerryFW11-Nov-03 7:04
JerryFW11-Nov-03 7:04 
GeneralScreen info Pin
Anonymous11-Nov-03 2:37
Anonymous11-Nov-03 2:37 
GeneralRe: Screen info Pin
David Crow11-Nov-03 2:46
David Crow11-Nov-03 2:46 
QuestionHow to decode an audio bitstream using Directx??? Pin
elza11-Nov-03 1:27
elza11-Nov-03 1:27 
Generalextended procedure for sql server Pin
mhmoud rawas11-Nov-03 1:17
mhmoud rawas11-Nov-03 1:17 
GeneralRe: extended procedure for sql server Pin
geo_m11-Nov-03 7:49
geo_m11-Nov-03 7:49 
Generaldelay in calling WM_DRAWITEM Pin
Dudi Avramov11-Nov-03 1:14
Dudi Avramov11-Nov-03 1:14 
GeneralRe: delay in calling WM_DRAWITEM Pin
Roger Allen11-Nov-03 3:18
Roger Allen11-Nov-03 3:18 
GeneralRe: delay in calling WM_DRAWITEM Pin
Dudi Avramov11-Nov-03 4:45
Dudi Avramov11-Nov-03 4:45 
GeneralRe: delay in calling WM_DRAWITEM Pin
Roger Allen11-Nov-03 5:59
Roger Allen11-Nov-03 5:59 
GeneralRe: delay in calling WM_DRAWITEM Pin
Dudi Avramov11-Nov-03 6:40
Dudi Avramov11-Nov-03 6:40 
Generalnewbie button method question Pin
gavshan10-Nov-03 23:58
gavshan10-Nov-03 23:58 
GeneralRe: newbie button method question Pin
Michael P Butler11-Nov-03 0:57
Michael P Butler11-Nov-03 0:57 
GeneralRe: newbie button method question Pin
asierra11-Nov-03 4:04
asierra11-Nov-03 4:04 
GeneralControl not displayed Pin
Shenthil10-Nov-03 23:37
Shenthil10-Nov-03 23:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.