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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:41:21+00:00 2026-06-15T06:41:21+00:00

I have had success using the Set a Value in the Windows Registry action

  • 0

I have had success using the “Set a Value in the Windows Registry” action for string values. I can’t seem to get it to work for “REG_DWORD” types in the registry. There is no way to specify the type in the install4j UI. I have tried using an installer variable with a byte value for the registry key being set, but that got converted to a string when I check the registry.

I see the “Read” functions available in install4j work for all Windows Registry types. Does install4j support writing a registry value of other than string types? If so, how can it be done?

  • 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-15T06:41:23+00:00Added an answer on June 15, 2026 at 6:41 am

    The “Set a Value in the Windows Registry” action can only set string values.

    You can use the com.install4j.api.windows.WinRegistry API, though. If you pass a value of class java.lang.Integer when calling

    WinRegistry.setValue(...)
    

    a registry entry of type REG_DWORD is created.

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

Sidebar

Related Questions

I have had a lot of success creating graphs with Flot. However, I can
I am using Installshield, and have had success in launching my exe install files
I'm new to integration testing, but have had great success so far buiding up
I have had this problem crop up a few times and I can't figure
I have had a look all over, but it doesn't seem as though my
So far, I've had great success using PyAMF to communicate between my Flex front-end
What are some strategies that people have had success with for maintaining a change
I'm working with the d3 library and have had success working with the chloropleth
I've just begun using the Google Maps API (v3.0) and have had a good
I have had an online archive service for over a year now. Unfortunately, I

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.