CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
web_forms
getting_started
data_presentation_controls
dotnetnuke
data_access-sql_server_sql_server_express_and_sqldatasource_control
security
client_side_web_development
novell-support-groupwise-6x-clients
data_access-data_access_and_objectdatasource_control
asp-net_ajax-asp-net_ajax_control_toolkit
novell-support-netware-6x-install-upgrade
asp-net_ajax-asp-net_ajax_discussion_and_suggestions
novell-support-netware-6x-administration-tools
master_pages_themes_and_navigation_controls
configuration_and_deployment
novell-support-netware-client-winnt-2x-xp
novell-support-groupwise-7x-clients
asp-net_ajax-asp-net_ajax_ui
novell-support-edirectory-netware
community-free_for_all
visual_studio_2005
novell-support-groupwise-6x-install-setup
data_access-xml_and_xmldatasource_control
control-cancel
novell-support-iprint
advanced_asp-net-crystal_reports
data_access-xml_web_services
microsoft-public-access
novell-community-chat
state_management
novell-support-netware-6x-abends-hangs
dotnetnuke-getting_started
novell-support-groupwise-6x-gwia
-net_languages-c
novell-support-identity-manager-engine-drivers
novell-support-groupwise-discontinued
advanced_asp-net-architecture
opensuse-org-suse-linux-support-install-configure-administration
dotnetnuke-custom_modules
novell-support-groupwise-7x-install-setup-admin
novell-support-netware-6x-storage-media
novell-support-groupwise-6x-agents
installation_and_setup
data_access-access_databases_and_accessdatasource_control
windows-hosting_open_forum
visual_web_developer_2005_express
novell-support-groupwise-6x-web-access
novell-support-netware-6x-server-backup
macromedia-dreamweaver
novell-support-netware-5x-administration-tools
novell-support-ifolder
novell-support-bordermanager-install-setup
novell-support-imanager
microsoft-public-dotnet-framework-aspnet
novell-support-netware-5x-install-upgrade
novell-support-cluster-services
novell-support-bordermanager-proxies
novell-support-newsflash
advanced_asp-net-sql_server_reporting_services
microsoft-public-dotnet-languages-csharp
web_parts_and_personalization
about_this_site-feedback_on_this_website
ibm-software-websphere-portal-server
novell-support-netware-dns-dhcp
novell-support-zenworks-desktops-4x-app-launcher
-net_languages-visual_basic_-net
advanced_asp-net-custom_server_controls
novell-support-bordermanager-vpn
novell-support-ndps-neps
microsoft-public-sqlserver-programming
novell-support-netware-webserver
community-jobs
novell-support-netware-4x
advanced_asp-net-mobile_and_handheld_devices
internet_explorer_web_controls
novell-support-zenworks-desktops-4x-install-setup
novell-support-edirectory-linux
novell-support-groupwise-7x-gwia
development_tools-web_matrix_general_discussions
microsoft-public-access-formscoding
macromedia-flash
community-announcements
portal_starter_kit
novell-support-zenworks-desktops-4x-management-agent
novell-support-zenworks-patch-management
novell-support-native-file-access
microsoft-public-access-queries
microsoft-public-access-forms
novell-support-groupwise-7x-web-access
novell-support-netware-small-business-6x
data_access-active_directory_and_ldap
novell-support-edirectory-windows
novell-support-groupwise-7x-agents
novell-support-ichain
data_access-oracle
novell-support-zenworks-desktop-management-6x-imaging
novell-support-groupwise-7x-wireless
novell-support-netware-5x-abends-hangs
advanced_asp-net-localization
novell-support-zenworks-desktop-management-7x-imaging-server-nw-win




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: Date Entered: 6/13/2006 8:39:47 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 11 Views: 79 Favorited: 0 Favorite
12 Items, 1 Pages 1 |< << Go >> >|
"bungalay" <>
NewsGroup User
How do I make a file automatically download and install?6/13/2006 8:39:47 PM

0

My web application has certain security controls that need to be installed. They are all put into a .exe file that is stored on the web server.

I've made a page that detects (using ActiveX) whether or not the client has installed the security controls (mysecuritycontrols.exe)

Once detected, I want to redirect to a page that automatically downloads and runs my .exe file.

I think I need to use <object codebase="pathto/mysecuritycontrols.exe" classid="huh?"> in my aspx file, right?

Where do I get the classid if I need to use this method?  Am I using IE's 'internet component download?' 

"Mikhail Arkhip
NewsGroup User
Re: How do I make a file automatically download and install?6/14/2006 2:16:46 AM

0

Class ID should be clsid of your ActiveX control. If it is not pesent on the machine, IE will download it from the location pointed by CODEBASE and register it. See here

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/object.asp

However, I don't think IE will run an executable.


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
"bungalay" <>
NewsGroup User
Re: How do I make a file automatically download and install?6/14/2006 6:21:04 PM

0

Thanks Mikhail! That actually worked great and a window pops up and asks the user whether or not to install which is perfect.

However, my .exe file is almost 40MB and for some users this will take a long time to download before the install box pops up.  Is there way with javascript (or something in asp.net) to detect whether or not the download has started and when it has finished? 

I'd like to post a message to users that the download has started or not, and also detect if it has finished.

Please help!

"Mikhail Arkhip
NewsGroup User
Re: How do I make a file automatically download and install?6/14/2006 6:50:48 PM

0

IE normally displays progress in the status bar, I think. I don't think there is a way to override download process in IE. However, you could do similar to what Windows Update does: first you download a small bootstrap utility which then starts downloading the full control set. This utility can have fancy UI displaying all sorts of progress.
Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
"bungalay" <>
NewsGroup User
Re: How do I make a file automatically download and install?6/14/2006 7:03:58 PM

0

Yeah, IE does report the status in the bar. I'm scared that users who don't know what they're doing will not know to look there to know that the file is downloading. I just want to test whether or not it is downloading to display a message for them to wait for it to finish.  A Progress indicator would be nice, but its not required.  Can javascript tap into the IE status bar?

Know of any bootstrap utilities that already perform this function? I'd hate to have to write one..

Thanks again for your help!

"bungalay" <>
NewsGroup User
Re: How do I make a file automatically download and install?6/14/2006 7:29:37 PM

0

I've done some looking around and found IBindStatusCallBack  --  anyone know how that works? Can I use it to solve this problem?
"Mikhail Arkhip
NewsGroup User
Re: How do I make a file automatically download and install?6/14/2006 7:29:58 PM

0

"Mikhail Arkhip
NewsGroup User
Re: How do I make a file automatically download and install?6/14/2006 7:33:16 PM

0

IE may also fire onreadystatechange on the OBJECT element when it is downloaded and installed

http://msdn.microsoft.com/workshop/browser/mshtml/reference/ifaces/objectelement/onreadystatechange.asp


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
"bungalay" <>
NewsGroup User
Re: How do I make a file automatically download and install?6/14/2006 8:17:30 PM

0

I think this looks like it will work. However, I know nothing about MSHTML -- know of any good tutorials for a beginner?
"bungalay" <>
NewsGroup User
Re: How do I make a file automatically download and install?6/14/2006 8:33:42 PM

0

nevermind.

 

THanks for the great help! I'll let you know how it turns out!

"Mikhail Arkhip
NewsGroup User
Re: How do I make a file automatically download and install?6/14/2006 8:36:41 PM

0

In the stuff I have mentioned above you don't need to know MSTHML - it is all client script and client script events.

I would not recommend IBindStatusCallback as it is native C/C++ and is not accessible from script. To work with it you would have to install another ActiveX control forst to get access to native COM interfaces. Unless you are very familiar with COM, C++ and ATL I would recommend against it.


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
"bungalay" <>
NewsGroup User
Re: How do I make a file automatically download and install?6/14/2006 11:39:37 PM

0

Could you elaborate on how to use the window.status, or the fire event for the objecT?

I can't figure out how to access the object tab with javascript....

12 Items, 1 Pages 1 |< << Go >> >|


Free Download:













where to get .net 2.0 or 3.0 service pack ?

visual studio 2005 .tmp files

error installing any starter kit

cant debug in c# for asp.net

breakpoints not correct/hitting after editing javascript while debugging

sqlparameter collections

install queation

vsto excel project from windows application

how to show line number

vs2005 crash

no event in event log after renaming/moving any objects in/between organizational units (ou) in active directory (ad) ?

my changes will not save in the script task in ssis package in visual studio 2005

.js file intellisense

put help document in the code

web.config

asp.net appliaction option is not comming in create new project in vs studio 2005

limit attribute choices

remote debugging not responding...?

add tableadapter on a custom table

how do you create a new web page in a subfolder in vs 2005?

intellisense in source view: show attributes belonging to certain category instead of all

vs 2005 makes me lazy

ctp july: eat up all my cpu!

web.config exclude from vss?

msvs 2005 beta 1: using usercontrol in code folder

how to add a interop dll to my project manually? thanks

auto refresh dll reference

unable to add existing wdproj to a solution

project is no longer using asp.net development server

what are the hot-keys in vs2005

ms expressions web - does it help?

question about 'publish web site'....

annoyance: control not recognized

search function

can't upload my web application

no debug step in shown

sqlbulkcopy & problem: the process cannot access the file '' because it is being used by another process.

change style sheet programatically

not require framework?

is there a easier way to debug than stopping the debugger, doing the code change and then running the f5???

website project - build configurations and references

vs2005 is not opening web page designer/source

quickwatch dump

keyboard shortcut key to minimize all sub procedure or function

remote debugging works, but not for the whole site

how good is studio at working with css compared to dreamweaver ?

every time i make a table in design view, i get an error in ‘source' view?

generate pdf from html page(convert html page to pdf)

button click cs file issues....

build website... may as well go for coffee!

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT