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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:05:54+00:00 2026-05-27T11:05:54+00:00

I am running InnoScriptGenerator 1.0.3.1 to create an install script. Everything works EXCEPT the

  • 0

I am running InnoScriptGenerator 1.0.3.1 to create an install script.
Everything works EXCEPT the registry creation. I want to create two entries…

HKEY_LOCAL_MACHINE\SOFTWARE\DocAssist
HKEY_LOCAL_MACHINE\SOFTWARE\DocAssist\InstallDir   - which has my install directory

My script lines are as follows:

[Registry]

Root: HKLM; Subkey: SOFTWARE\DocAssist; ValueType: none; Permissions: admins-full; Flags: uninsdeletekey createvalueifdoesntexist;
Root: HKLM; Subkey: SOFTWARE\DocAssist; ValueType: string; ValueName: InstallDir; ValueData: {app}; Permissions: admins-full; Flags: uninsdeletekey createvalueifdoesntexist

The script runs, does not give an error, but also does not create the entry in the registry.

When I run it from InnoScript Generator, the debug log shows

Screen Install Log

I am running this as an admin user. It is being run on Windows 7 64 bit.
The only other interesting piece of info is that in my application, when it accesses the registry, (via Delphi) I had to define the Registry as…

MyRegistry := TRegistry.Create(KEY_READ OR KEY_WOW64_64KEY);

because

MyRegistry := TRegistry.Create();

just did not work…

  • 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-27T11:05:55+00:00Added an answer on May 27, 2026 at 11:05 am

    Inno (unless you’ve told it otherwise) will be writing that value into the 32bit view of the registry.
    You’ve then told your app (using the KEY_WOW64_64KEY flag) to read formt he 64bit view.

    As it sounds like your app is actually a 32-bit app, just use HKLM exclusivly, and forget any 64 bit flags.
    This will cause the value to be correctly written into HKEY_LOCAL_MACHINE\SOFTWARE\DocAssist in the 32bit view (which is HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\DocAssist in the 64bit view.)

    See the various articles on the Microsoft websites for more information.

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

Sidebar

Related Questions

Running Nh 3.2 using SQLite throws the following exception: ---> NHibernate.HibernateException: Could not create
Running the ASP.NET webforms run the application works fine. When the application is idle
running asp.net mvc on iis6, do I need to install anything on the server?
Running the following code in Delphi XE2 Win32 platform works. However, the same code
running the configure script for mozart oz gives me this: checking for stdint.h... (cached)
running two rails 2.3.8 apps on two virtual servers in ubuntu 8.04 with apache
Running on MySQL 5.5.9 with InnoDB. I created the following trigger: CREATE TRIGGER TRIGGER_Products_Insert
Running Linux (Ubuntu 11.10), the same regular expression works in JavaScript, but fails when
Running my app on the 4.0.3 emulator typically works fine, but once in a
Running Magento with multiple stores. The base store works perfectly. On the secondary store

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.