I'm trying to write an installer for an app I created. I found a suggestion elsewhere that I was trying to follow and it mostly worked. My app is now in the "Open With" list. However, the app won't run at all. Could it be that it's because the app is not being started in its directory, so it can't find the dlls?
Root: HKCR; Subkey: ".xls\OpenWithList\docs.exe"; Flags: uninsdeletekey noerror
Root: HKCR; Subkey: ".ods\OpenWithList\docs.exe"; Flags: uninsdeletekey noerror
Root: HKCR; Subkey: "applications\docs.exe\shell\open\command"; ValueType: string;
ValueData: """{app}\docs.exe"" ""%1?"""; Flags: uninsdeletekey noerror
Root: HKCU; Subkey: "Software\Classes\.xls\OpenWithList\docs.exe"; Flags: uninsdeletekey
Root: HKCU; Subkey: "Software\Classes\.ods\OpenWithList\docs.exe"; Flags: uninsdeletekey
Root: HKCU; Subkey: "Software\Classes\applications\docs.exe\shell\open\command";
ValueType: string; ValueData: """{app}\docs.exe"" ""%1"""; Flags: uninsdeletekey