• 0

Software development, issues linking to exe files, please help :'(


Question

Hey guys, can someone please suggest a solution to this problem?

I develop software to help teach people guitar, and distribute the software as a download - but also cd-rom for people who want to have a hard copy. I've had some issues over the last few years due to web browser development - i shall explain! When the user puts the CD-ROM into their drive, an html welcome page auto-loads to greets them, and asks to select PC (for an .exe that contains all the info) or MAC (which takes them to some more html pages with screenshots of the .exe instead...) this all worked great for years. But recently, this is no longer possible. With CHROME for example, when the user clicks PC, it downloads the .exe to their downloads folder, rather than 'running' it, to keep it in it's current location with all the other content. So when they then run the .exe, they cannot launch any of the other files through it because they have become separated.

I thought maybe replace the html welcome page perhaps with just a PDF file, that i could link to the exe from, but i just tested this and it does not seem to want to link to exe files, only the mac version will work.

Can anyone please help? Is there any way around this? All i want to do is be able to run the .exe file from within the CD-ROM where all the content is. I can't use an installer, it has to run from the cd-rom. So i need some method of running the .exe from the disc. I suppose there are security risks maybe stopping this, but any thoughts/ideas appreciated

Thanks

4 answers to this question

Recommended Posts

  • 0

For Windows anyways, you could use HTA (HTML Application). I'm not sure what solutions are available for MAC.

I couldn't find a good solution. All I can suggest is to include installation instructions.

  • 0

GreyWolf's suggestions sound like they're worth looking into, but here's another recommendation that you use a HTA for Windows systems. A HTA will run using the Internet Explorer layout engine no matter which browser the user has set as default, so you only have to design with that engine in mind, and you can utilise the VBScript/JScript capabilities that only Internet Explorer allows.

A HTA should be great for your situation, and what's useful is that you can ensure the entire experience is designed to your liking, with no browser windows popping up (you could even hide the default Windows titlebar and create your own, if you'd like).

One thing you could probably do is hide the HTA window and have it run the EXE file; that way, the EXE file could run as soon as the CD runs, without any other windows popping up. If you see what I mean? I'm not sure exactly what you're after, but that should be possible.

I have a lot of experience with the HTA concept, so feel free to ask if you have any problems :)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • After watching the Apple event earlier this week it is quite the contrast. Apple is going back and tweaking the code to make things more efficient in may areas of MacOS. Windows is boosting your electric build to hide their issues.
    • It is silly there is no simple way to check whether this profile has been activated. CFRs are normal, but trying to even hide the fact if it's on / off seems silly, especially for something so user-facing. Surely Microsoft is "proud" of their engineering efforts on this one and ought to display it somwhere in the GUI.
    • Many Linux distros are not known for excellent battery life, so I'm not sure that is the best example. A more apt example may be Apple, but Apple's CPUs are simply far more efficient than Intel & AMD at single-threaded tasks like these, so "boosting" is not as power-hungry and less heat-inducing. Not to mention Apple will hardly engage P-cores for basic UI tasks; they use a pretty complicated QoS scheme to only activate P-cores for more serious workloads like HTML / JS execution or decompression or application launch. Microsoft is (smartly) doing it for launch, but also for UI tasks, which is the more nonsensical part: why ... do Windows 11's UIs need modern CPUs to boost? It should load so quickly that there's not even time for the CPU to boost.
    • I've not seen any controlled testing and, judging by Microsoft's mentality, within a year, they'll have added so much more bloat, it'll undo any perceptible latency benefit and we'll have boosted the CPU clocks for nothing.
    • It depends: heat soak is a thing. Initially on cold boot-up, the heatsinks & heatpipes are at ambient temp. After heatsinks & heatpipes warm up (through normal usage), they don't immediately cool to ambient temp when the load goes away. So their baseline is higher and the trigger point for fans is much less stress. Add a few more CPU spikes → it's too hot to stay at the same fan RPM → fans get triggered to start up up much sooner / get triggered to ramp much more quickly.
  • Recent Achievements

    • One Year In
      slackerzz earned a badge
      One Year In
    • One Year In
      highriskpaym earned a badge
      One Year In
    • One Month Later
      highriskpaym earned a badge
      One Month Later
    • Week One Done
      highriskpaym earned a badge
      Week One Done
    • Week One Done
      FBSPL earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      501
    2. 2
      PsYcHoKiLLa
      198
    3. 3
      +Edouard
      157
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      74
  • Tell a friend

    Love Neowin? Tell a friend!