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 595081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:01:24+00:00 2026-05-13T16:01:24+00:00

We have a Ruby-on-rails server-side deployment that needs to allow users to download a

  • 0

We have a Ruby-on-rails server-side deployment that needs to allow users to download a pre-compiled self-extracting Windows EXE file on their computer.

We also need to generate a text file dynamically (based on the users id) and deploy it somewhere on the client machine where the EXE can find it.

We have 2 options:

  1. Generate this text file on the linux server and SOMEHOW? embed it in the Windows EXE. This seems far-fetched
  2. Get the user to download the static EXE and somehow get the dynamic text information stored on the clients machine (either through an invisible download, cookies, vbscript or javascripting on client side).

Note that we have, for now, ruled out having 2 separate download links (1 for the exe and 1 for the dynamic text info) because of problems associated with that user experience (i.e. ugly UX, downloads could be stored on different paths etc).

I am not much of a web developer but after spending a few minutes on Google, I think both solutions are ridden with problems and ugly.

Anybody’s got a smart idea?

  • 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-13T16:01:24+00:00Added an answer on May 13, 2026 at 4:01 pm

    A couple of ideas:

    1) Zip the exe and text file on the server file to be unzipped into the same location (creating a self extracting zip (exe) would be better.

    2) Provide a KEY/PIN CODE after the user downloads the exe. When the application is first run, detecting no text file, it asks for the PIN, the exe then calls a webservice and downloads the information to save to the text file. This can be a Guid for instance.

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

Sidebar

Related Questions

I have a ruby on rails app running a server and sometimes it needs
I have a Ruby on Rails application that needs to find a home in
I have a Ruby on Rails app running on my server, and I can't
I have a Ruby on Rails app that I've recently deployed to a remote
I have a Ruby on Rails model that has a column called expiration_date .
If I have a Ruby on Rails application running on my Apache shared server
I have a Ruby on Rails 3.2 app using bundler and capistrano for deployment.
I have a Ruby on Rails application that has two active environments, Stage and
I have ruby on rails installed on my ubuntu 8.10 desktop. Script/generate came up
I have Ruby on Rails 3.1 application and i use for Sphinx + Thinking

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.