Skip navigation
Currently Being Moderated

Install button on web-site

Jul 18, 2012 6:25 AM

Tags: #dreamweaver_cs5 #.html #coding

Hi;

 

Not sure if this is the proper Forum for this question. Not even sure I worded the Title of the question correctly.

 

Have Access 2010. Understand how to run Package & Deploy.

 

What I haven't learned yet; nor after a lot of searches have found; how or what to use to accomplish the following:

 

Need an Install button on our web-site.

 

The Installation must do four things:

 

1. Determine the version of Windows on the User's PC.  (XP, Vista, 7)

2. Determine if the User has MSWord installed AND which version., (2003, XP, 2007, 2010)

 

3. Download and install the proper Access Package that matches the User's PC.

4  If the User has XP, register a DLL & OCX Service.

    If Vista or 7, register just a DLL Service.

    Note: Neither needs a reboot. Both will be in the Package / Deploy cab file.

 

Would someone be so kind and point me in the proper direction?

 

Thank You for taking the time to read this post.

 

Andy

 
Replies
  • Currently Being Moderated
    Jul 18, 2012 11:24 AM   in reply to AndyWCT

    I don't see a way for you to do this without an IE-only application.  Plus, due to security in IE8/9 and above, most users will block any commands to scan their system for what version of Word or system applicaitons they have.  You should be able to get the OS from the server variables those.  If I were you I would head over to the MS Tech Net and post in their forums.  You will get better results, most people here are php/mySQL and won't have the understanding you need.

     

    http://social.technet.microsoft.com/Forums/en-us/categories/

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 19, 2012 12:32 PM   in reply to AndyWCT

    There is an Insert button, it's just a simple form button.  What you need is code behind the button.  In the case of HP or graphics drivers, these companies install software on your computer to bypass security settings.  Windows and Mac OS have ways to allow developers of applications to allow their products to access the internet.  These are controlled by the OS, and they usually do testing with the Anti-Virus/Firewall companies as well so that the actions do not trigger virus or firewall warnings as well.

     

    Wish there was something more I had to offer, but the level of programming is beyond my knowledge, and although I know what is required I do not know the code to make that execution happen, but if you post this same question in that technet forum, the users there are very knowledgeable and should be able to help you out.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 20, 2012 9:33 AM   in reply to AndyWCT

    Just to reiterate what SnakeEyez has already told you:

     

    >1. Determine the version of Windows on the User's PC.  (XP, Vista, 7)

     

    This can be done by reading the user agent string using your choice of server side scripting languages. These are typically retrieved as server variables.

    http://www.useragentstring.com/

     

    >2. Determine if the User has MSWord installed AND which version., (2003, XP, 2007, 2010)

     

    This can not be done without having the user first install a client side plugin. The user agent does not expose this level of detail of the users system to the web. It's doubtful a user will install this first so they will likely have to make this choice manually.

     

    >3. Download and install the proper Access Package that matches the User's PC.

     

    You would write a server side script that create a link to the correct package based on #1 and #2.

     

    >4  If the User has XP, register a DLL & OCX Service.

     

    A webserver can't execute code on the client. The package you deliver would need to perform this step.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 21, 2012 11:00 PM   in reply to AndyWCT

    >Where is the option to "Insert" a Command Button in Dreamweaver?

     

    On web pages, buttons are form elements. So in DW you simply need to insert the form and submit button. Of course, forms do nothing by themselves - you will need to write the script that is called by the form that will execute the file download. If you tell us which server side scripting language you are using we can point you in the right direction for a download script.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 23, 2012 10:17 AM   in reply to AndyWCT

    To go back to your first post, if you are using Access as a database, Access is not very compatible with PHP.  You can do it, but it's a mess ( http://www.w3schools.com/php/php_db_odbc.asp ) .  Plus the programming I was assuming you are using can be done with .NET because of the Windows controls that are available, but those same controls do not exist in Linux nor PHP.  Godady does offer Windows server at the same price points, and you would keep access to PHP, although on Windows some PHP functions either do not work, or work differently.  One function that comes to mind is mail.  Typically in a Windows environment it is configured using SMTP for all mail connections.

     

    From a PHP standpoint, the closest thing I could think of is what Crucial ( http://www.crucial.com/index.aspx ) does for a memory scanner for non-IE clients.  What they do is have a user run a .exe file that executes the code you have stated you found to scan for the version and register the dll on the users computer and then launches a web browser with a variable string at the end of the URL ( ie: domain.com/page.php?somevar=somethingelse ) and they proceed to get the proper File download from the results of that executable. 

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 23, 2012 12:07 PM   in reply to AndyWCT

    >On a dead line to get the "Try Me" / "Buy Me" button working correctly.

     

    You could just create a link to the package you want to download.

    But a better way is to use a download script. You can search the web for 'php file download script' but here's one to get you started:

     

    http://www.finalwebsites.com/forums/topic/php-file-download

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points