Setup Project File-Types

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fred

    #1

    Setup Project File-Types

    I am using VS2003 and I am using files with myExt to launch my application.
    The file type was setup in the Setup Project under File Types. This all
    works well but now I won't to use Notepad to edit files with myExt.
    In the Setup Project I created another file type, but using the same
    extension, and created an Edit option. Originally I only had an Open option.
    In the Command property of the Edit file type I selected notepad.exe from
    the system folder but then I got the warning:

    "WARNING: 'notepad.exe' should be excluded because its source file
    'C:\WINDOWS\sys tem32\notepad.e xe' is under Windows System File Protection."

    I tried excluding it by setting the exclude property of Notepad.exe in the
    system folders in the File System page but then I get an error:

    "ERROR: Command 'notepad.exe' for file type 'MyExt File' has the 'Exclude'
    property set to 'True'"

    How should I setup this file type to be edited using notepad?

    Thanks for your help
    Fred


Working...