Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7415347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:17:06+00:00 2026-05-29T07:17:06+00:00

I have an ActiveX control that basically checks if one of our company software

  • 0

I have an ActiveX control that basically checks if one of our company software is installed, and if not installs it.
(For reasons my boss doesn’t want to just download the exe, he wants the ActiveX control to launch the setup.exe).
Now would it be bad if I passed from the javascript the URL & program name ?

Here’s my idl interface so far:

    //  Primary dispatch interface for CMyAwesomeControl
[ 
    uuid(xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)  
]
dispinterface _DMyAwesomeControl
{
    properties:
    methods:
        [id(1)] LONG IsProgramInstalled(BSTR programName);
        [id(2)] LONG InstallProgram(BSTR installURL);
};

I am of course worried about injecting anything malicious into those functions, but since javascript is running on the client side it shouldn’t matter right ?
Otherwise I thought I could extract the URL this activeX is running on and make sure it’s always our company’s domain (but again, hard coding it :/).

I’m sorry in advance if this question makes the more security-savvy people out there pull their hair out 😛

EDIT:
Just to add that it would be fine to include the setup.exe + .msi in the resources of the control but that would be a PITA to update.
Otherwise I could include just the setup.exe in the resource and leave the .msi on the server, and store the url in the setup.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T07:17:07+00:00Added an answer on May 29, 2026 at 7:17 am

    As long as you sign your exe, and check this signature before running it, I don’t see why it would be any different than letting the user download the exe and running it herself.

    But make sure your certificate is valid, so you can actually check this on the user’s machine (i.e. no self-signing).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an activeX control that contains one window that has streaming video being
I have created an activex control that will be used only for our intranet.
I have an ActiveX control that runs on a website, where the old version
I have an ActiveX control that I'm loading with JavaScript in Internet Explorer. It
I have got an ActiveX Control that gets an image from a fingerprint device
I have the unenviable task of maintaining an ActiveX control that expects OLE_Colors as
I have an ActiveX control written in C++ that runs in Internet Explorer 8.
I have an ActiveX control that works fine in Internet Explorer and the ActiveX
I have an ActiveX control that has both 32 and 64 bit versions for
I have an ActiveX control written in C++ using ATL that has a couple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.