Fix for a crash which happened when a document couldn't be opened.
[AROS-Contrib.git] / regina / common / unoninit.nsh
blob984a01a0fd4eb86fc06fcc2d463656e5652c4a21
1   ;
2   ; UnInstall as All Users if an admin
3   ;
4   Call un.IsUserAdmin
5   Pop $IsAdminUser
6   StrCmp $IsAdminUser "false" DefaultUser
7   SetShellVarContext all
8   Goto DefaultUser
9   DefaultUser: