weist123 Posted October 25, 2004 Share Posted October 25, 2004 please help me !i inno-packed "emeditor",which is a fine text-editor.i wanna in setup ,it can auto-Association the .txt and .nfo file.and i wanna the Association will be used to ALL USER.so,i add the under code to the setup script:[Registry]Root: HKCR; SubKey: .txt; ValueType: string; ValueData: emeditor text file; Flags: uninsdeletekeyRoot: HKCR; SubKey: emeditor text file; ValueType: string; ValueData: text file; Flags: uninsdeletekeyRoot: HKCR; SubKey: emeditor text file\Shell\Open\Command; ValueType: string; ValueData: """{app}\emeditor.exe"" ""%1"""; Flags: uninsdeletevalueRoot: HKCR; Subkey: emeditor text file\DefaultIcon; ValueType: string; ValueData: {app}\emeditor.exe -102,-1; Flags: uninsdeletevalueRoot: HKCR; SubKey: .nfo; ValueType: string; ValueData: emeditor nfo file; Flags: uninsdeletekeyRoot: HKCR; SubKey: emeditor nfo file; ValueType: string; ValueData: nfo file; Flags: uninsdeletekeyRoot: HKCR; SubKey: emeditor nfo file\Shell\Open\Command; ValueType: string; ValueData: """{app}\emeditor.exe"" ""%1"""; Flags: uninsdeletevalueRoot: HKCR; Subkey: emeditor nfo file\DefaultIcon; ValueType: string; ValueData: {app}\emeditor.exe -1,-1; Flags: uninsdeletevaluei wonder: what is "subkey",can i directly use that code?is there any more simple method to complete "file Association"? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now