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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:43:25+00:00 2026-05-26T20:43:25+00:00

My application currently installs documents and other files to two folders using lines like:

  • 0

My application currently installs documents and other files to two folders using lines like:

Source ... DestDir: {userdocs}\{#MyAppName}\Layouts
Source ... DestDir: {userappdata}\{#MyAppName}

Up until now I have not accommodated the need some users in classrooms have to install the software logged in as one (admin) user, but then have students use the software logged into a student account.

I have just created some code that uses CreateInputOptionPage to create a custom wizard page that asks the user whether to install to documents to the current user or all users.

How do I use the results of my new custom wizard page to control the two Source lines above. Rather than {userdocs} and {userappdata} above, depending on the value of Page.Values[0], I want to use {commondocs} and {commonappdata}. (Is my thinking correct about using the common folders?)

Can I create some sort of runtime variable I can use in the Source lines, or an IFDEF variable?

Does iss have other built-in functionality to help me in this area?

  • 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-26T20:43:25+00:00Added an answer on May 26, 2026 at 8:43 pm

    You can use the Check parameter. The check would refer to a function that would return a boolean value, if the return is ‘true’ then the entry is processed, otherwise it won’t be.

    Source ... DestDir: {userdocs}\{#MyAppName}\Layouts; Check: not IsAllUsers
    Source ... DestDir: {commondocs}\{#MyAppName}\Layouts; Check: IsAllUsers
    
    [Code]
    ...
    
    function IsAllUsers: Boolean;
    begin
      Result := Page.Values[0] = ...
    end;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our application is currently made up of two big entities: C# ASPX files, and
An application currently in development has the requirements for using MS Word to perform
Our application currently stores bunch of configuraton & application specific data to files on
I was writing a Blog like application Using Rails3/Mongoid, and now trying to use
I'm currently building a simple web application in PHP that other company's can use
Currently we have developed application using Java 6 based on windows 32bit(Dual core &
I currently have two separate programs: (1) a GTK GUI; (2) a Glut application
I have a ClickOnce-deployed application and I'm currently using this to detect the first
We need to create an installer for our application. Currently we are using Install
My Application currently serves requests for data, and can order the data to the

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.