Open KingBes opened 3 months ago
Can you provide the installer code that you used. The behavior is only designed for uninstaller.
module main
import malisipi.vinstall
#flag windows -mwindows
fn main() {
vinstall.run(
app_developer: 'KingBes'
app_name: 'PHP麻蛋编辑器'
license_txt: $embed_file('license.txt')
app_zip: $embed_file('PHP麻蛋编辑器.zip')
executable_path: 'run.exe'
desktop_shortcut: true
uninstaller:$embed_file('uninstaller.exe')
default_language:'Chinese'
)!
}
I tested the code and I recognize some problems.
It's a virtual machine record that removed a lot of components including chinese/japanese/emoji fonts removed. So dialogs is not readable. It's not related with Installer.
By this commit 5c717a364e937670197e54cf7ba13f550617ce0c, you will be able to protect files/folder that located in installation location. You just need to pass -d dont_delete_install_location_files
flag. However using uninstaller is not recommend for this situation. Uninstaller will wipe all files/folder that placed in installation location.
You can use the command for your situation.
v installer.v -d extended_language_support -d dont_delete_install_location_files -o installer.exe
There is a major bug, other files in the same directory are deleted when the installation window is closed!