I want create a button that will launch InstallSHIELD DeInstaller. In order to do that I need to pass a command line argument to point a DeIsL5.isu file. I tried this code and it does not work:
RemovePath = Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\ \App Paths\\MyApp.exe", "Path", true);
if RemovePath ~= "" then
result = File.Run("WIN95\\UNINST.exe", "-f"RemovePath.."\\DeIsL5.isu", "", SW_SHOWNORMAL, true);, ""), "")
Something to do with the quotes in the Args section. But the quotes are needed to pass the command to UNINST.exe. So what am I doing wrong here? Thanks for any help on this, it is driving my bonkers.
RemovePath = Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\ \App Paths\\MyApp.exe", "Path", true);
if RemovePath ~= "" then
result = File.Run("WIN95\\UNINST.exe", "-f"RemovePath.."\\DeIsL5.isu", "", SW_SHOWNORMAL, true);, ""), "")
Something to do with the quotes in the Args section. But the quotes are needed to pass the command to UNINST.exe. So what am I doing wrong here? Thanks for any help on this, it is driving my bonkers.
Comment