Re: Not exactly cf question but hope it's ok

2008-11-01 Thread C S
> Bobby is right and your approach is nice as well. And if I need to 
> check multiple programs, I may try the following:
> regedit -e installedprograms.log 
H> KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
> then try to find them in the extracted/exported file.
> This approach might be a bit messy if the computer has lots of 
> programs installed already.


Agreed. The registry is usually more reliable. (I just did not know how to do 
it).  But now I do. I know it will come in handy in the future!

Cheers 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314740
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Not exactly cf question but hope it's ok

2008-11-01 Thread Don L
> >Check the registry.
> 
> Unfortunately, I did not know how to read registry from dos with xp. 
> Thanks for that. Learn something new every day ..
> 
> C:\>reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework 
> Setup\NDP" 

Bobby is right and your approach is nice as well. And if I need to check 
multiple programs, I may try the following:
regedit -e installedprograms.log 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
then try to find them in the extracted/exported file.
This approach might be a bit messy if the computer has lots of programs 
installed already.

Regards,

Chunshen Li (Don) 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314739
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Not exactly cf question but hope it's ok

2008-11-01 Thread C S
>Check the registry.

Unfortunately, I did not know how to read registry from dos with xp. Thanks for 
that. Learn something new every day ..

C:\>reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP" 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314738
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Not exactly cf question but hope it's ok

2008-11-01 Thread Bobby Hartsfield
Check the registry.

..:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com

-Original Message-
From: C S [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 01, 2008 6:25 PM
To: cf-talk
Subject: Re: Not exactly cf question but hope it's ok

>> > I'm trying to figure out if there's a way to programmatically
>
>Yeah, that's one approach, I now have some other ideas as well, thanks.

Let us know what you end up with.  In case I ever need to do this in the
future ;-) 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314737
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Not exactly cf question but hope it's ok

2008-11-01 Thread C S
>> > I'm trying to figure out if there's a way to programmatically 
>
>Yeah, that's one approach, I now have some other ideas as well, thanks.

Let us know what you end up with.  In case I ever need to do this in the future 
;-) 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314735
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Not exactly cf question but hope it's ok

2008-11-01 Thread Don L
> > I'm trying to figure out if there's a way to programmatically 
> > determine if a computer (with Windows OS including XP home/pro, 
> Vista) 
> > has .NET Framework 2.0 installed with DOS/Window's batch/utility 
> > programming.
> 
> (Purely from a quick google..) what about checking the folder 
> structure mentioned here?
> http://support.microsoft.com/kb/318785
> 
> You could get the windows directory in dos from %WINDIR%. The rest is 
> probably just basic dos to verify the paths exist.
> 

Yeah, that's one approach, I now have some other ideas as well, thanks. 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314734
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Not exactly cf question but hope it's ok

2008-11-01 Thread C S
> I'm trying to figure out if there's a way to programmatically 
> determine if a computer (with Windows OS including XP home/pro, Vista) 
> has .NET Framework 2.0 installed with DOS/Window's batch/utility 
> programming.

(Purely from a quick google..) what about checking the folder structure 
mentioned here?
http://support.microsoft.com/kb/318785

You could get the windows directory in dos from %WINDIR%. The rest is probably 
just basic dos to verify the paths exist.





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314730
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4