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

  • Home
  • SEARCH
  • 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 3423704
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T06:23:13+00:00 2026-05-18T06:23:13+00:00

I want to create an installer using Wix that copies a certain file to

  • 0

I want to create an installer using Wix that copies a certain file to the folder
“C:\Users\Your User\Documents\Visual Studio 2010\Addins\”

When I write the following code:

<Directory Id="TARGETDIR" Name="SourceDir">
    <Directory Id="PersonalFolder">
      <Directory Id="VS2010" Name="Visual Studio 2010">
        <Directory Id="VSAddins" Name="Addins">
          <Component Id="VSAddin" Guid="Some Guid">
            <File Id="MyAddin.Addin" Name="MyAddin.Addin" DiskId="1" Source="..\Resources\" />
            <RegistryValue Root='HKCU' Key='SOFTWARE\ABCD\MY_Addins'
                           Type='string' Value='MY_Addin'
                           KeyPath='yes' />
          </Component>
        </Directory>

I get the following compilation error:

ICE64: The directory VS2010 is in the user profile but is not listed in the RemoveFile table.

How can I overcome this error?

I know that i can add the following code inside the “Component” scope:

<RemoveFolder Id="VS2010" On='uninstall'/>

But I don’t want the uninstall to delete folders that i didn’t create (Especially the Visual Studio 2010 one…)

Thank you for your help,
Maxim

  • 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-18T06:23:13+00:00Added an answer on May 18, 2026 at 6:23 am

    May I ask why you are putting it in the users’s profile instead of installing it for all users? I find per-user components create all kinds of servicing problems downn the road. Instead, for my IsWiX project I deploy my AddIn to C:\ProgramData\Microsoft\MSEnvShared\AddIns.

    You can take a look at the full source at IsWiXAddInMM.wxs

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

Sidebar

Related Questions

I have Visual Studio 2005 Professional ENU installed and want to create GUIDs using
I want to create an MSI installer containing three apps. I will be releasing
I want to create a Java application bundle for Mac without using Mac. According
I want to create a function that performs a function passed by parameter on
I want to create a simple http proxy server that does some very basic
I want to create a installer which would just dump few files and folders
I am using Visual Studio 2010 to create a Setup package to install a
I want to create a chat room using HTML5 web sockets, but am pretty
Alright I want to create a .csv file in C#. I have been looking
I tried to create multiple iPhone apps using same XCode project and that worked

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.