systemo目录中的inno setup uninstaller

时间:2015-08-18 16:47:45

标签: .net vb.net inno-setup

在我的innosetup文件中,我使用以下代码在system32 direcotry中放置 unins000.exe 。它在32位PC上正常工作。但在64位PC上不能将unis000.exe放在system32目录中。我想将该exe放在system32目录中,因为我想通过我的vb.net应用程序启动卸载程序。我该如何解决这个问题?

UninstallFilesDir={sys}\MY APP

这是我的vb代码

Dim sysFolderPath As String = Environment.GetFolderPath(Environment.SpecialFolder.System)
System.Diagnostics.Process.Start(sysPath & "\MY APP\unins000.exe")

0 个答案:

没有答案
相关问题