You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use StrCpy $INSTDIR 'xxx' ,but failed to change install dir.
When using StrCpy $INSTDIR 'xxxx' in customInit, using MessgeBox to output $INSTDIR is indeed modified successfully, but it is subsequently overwritten with the InstallLocation value in the registry.
use WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\MyApp" ,got some problem
I tried to modify the installation path using the following method. This works, but it also creates a problem. That is, the registry was changed when the user canceled the installation, causing the previous installation to not be correctly uninstalled. Is there a callback that is triggered when the user cancels the installation. This will allow me to change the registry back within it.
use StrCpy $INSTDIR 'xxx' ,but failed to change install dir.
When using
StrCpy $INSTDIR 'xxxx'
in customInit, using MessgeBox to output $INSTDIR is indeed modified successfully, but it is subsequently overwritten with the InstallLocation value in the registry.use WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\MyApp" ,got some problem
I tried to modify the installation path using the following method. This works, but it also creates a problem. That is, the registry was changed when the user canceled the installation, causing the previous installation to not be correctly uninstalled. Is there a callback that is triggered when the user cancels the installation. This will allow me to change the registry back within it.
The text was updated successfully, but these errors were encountered: