Hi,
you are right I did not re-enabled but I did not know that it would be nessacary. Beacause the redirection is just off for this thread. Whatever... I have done that now:
${If} ${RunningX64}
${DisableX64FSRedirection}
strcpy $INSTDIR $PROGRAMFILES
${EnableX64FSRedirection} //Added
${EndIf}]
I did not freeze here now
but now the $INSTDIR just redirects to C:\Program Files(x86) 🙁
I tried to add ${EnableX64FSRedirection} in the Main Section of my installer because at this point (code above) the redirection is enabled to early. In the main section I add some entries to registry and this entries are written in the WOW6432 folder.
In the main section I wrote that:
${EnableX64FSRedirection} //Added before here
SetRegView 64
DeleteRegKey HKLM "SOFTWARE\Program\Addins\{fb43cf20-ef35-48ce-b08e-46f9bd4507ec}"
SetRegView 32
DeleteRegKey HKLM "SOFTWARE\Progam\Addins\{fb43cf20-ef35-48ce-b08e-46f9bd4507ec}"
But here the installer freezed again 🙁
Any idea what I can do to redirect correctly?