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

The Archive Base Latest Questions

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

I am new to wix (Windows Installer XML) so I folloed some tutorials like

  • 0

I am new to wix (Windows Installer XML) so I folloed some tutorials like this one
but what I need is that the application will be installed in the user personal folder so I replaced ProgramFilesFolder by PersonalFolder in the code. but Ive got this error:

Error   1   ICE38: Component MainExecutable installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file. C:\Proxym-IT\Projets Visual Studio\SetupProject2\SetupProject2\Product.wxs  18  1   SetupProject2

any help ?

  • 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-27T01:54:19+00:00Added an answer on May 27, 2026 at 1:54 am

    just had the same issue. found the solution (the right one, without disabling the warning):

    <Component Id="CCCCCC" Guid="120A49C6-3DB7-467F-A515-0DE9772F3B67" Win64="yes" Directory="LOCALAPPDATA">
                <RegistryValue KeyPath="yes" Root="HKCU" Key="SOFTWARE\ACME\Icecream" Name="Installed" Type="integer" Value="1" Action="write" />
                <File Id="F_TeaShellconfig" Name="Icecream.config" />
                <RemoveFolder Id="RemoveAppData" On="uninstall" />
            </Component>
    

    in fact, one has to add a dummy reg key to make this work. as someone said, the windows installer developers are presumably from another planet. the RemoveFolder tag below removes the next error I had, it is not related to the solution here, but it often goes together with it.

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

Sidebar

Related Questions

I am new to WiX but I have done some stuff with Installshield and
I am new to WIX and have been tasked with creating an installer that
I'm new to wix and trying make an installer for a few dlls. One
I am relatively new to WiX. It is a great tool, but I still
I am new to WiX and I have been trying to create a installer
I created an installer (via WiX) that, as part of the installation, installs a
I'm using c#, .net 4, WIX 3.5, Windows Vista. I have made my application
I have a WiX installer which needs to install new bits for Interop.FOOBARLib.DLL to
I am creating an upgradable installer using WiX that needs to remove the existing
I created an installer using WiX. One thing the installer does is sets an

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.