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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:23:30+00:00 2026-06-17T09:23:30+00:00

I am trying to run a batch file right before the installation begins, Just

  • 0

I am trying to run a batch file right before the installation begins,
Just after the user chooses the component he wants to install.

fortunately, I don’t build it from basic, I have a ready iss file which depending on the component runs a batch file that you have created already.

In the batch file I trying to change the directory of the installer to specific one.
I tried to do so as I set INSTALLBINDIR and appfolder to my directory but it haven’t work.

Do you know the variables I need to set so the installer will install where I want?

Edit:
I found out that I don’t need to use a batch file.

To fixed a position to file you just need to put your Directory in the DestDir in [files]

  • 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-06-17T09:23:30+00:00Added an answer on June 17, 2026 at 9:23 am

    You can’t change the install directory directly from a sub script/program run from the installer.
    You will need to set the WizardForm.DirEdit.Text in [Code] to the new value.

    Alternatively, you can use a {code:...} constant for the DefaultDirName directive to get a suitable value to start with.

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

Sidebar

Related Questions

I am trying run a batch file for a installation and I have used
I am trying to run a batch file that will install several applications without
I'm trying to run a batch file, as another user, from my web app.
I am trying to run a batch file automatically during a build from a
I am trying to run a Batch file from .net/c# using System.Diagnostics.Process. Somehow it
trying to run a simple batch file in windows 2008 task scheduler call cleanup.bat
When i am trying to run some queries from the batch file i am
I am trying to use iexpress to run my batch file which will execute
I'm trying to run a batch file that exists in one folder, from a
I'm trying to run a batch file on a server from an ASP.NET page.

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.