File instlux-installer-idempotency.patch of Package instlux

Index: instlux-SVN62/instlux/src/instlux_template_en.nsi
===================================================================
--- instlux-SVN62.orig/instlux/src/instlux_template_en.nsi
+++ instlux-SVN62/instlux/src/instlux_template_en.nsi
@@ -247,6 +247,8 @@ Section "Install" install
       ; $0 holds the boot id.  Write it down, both for installer idempotency
       ; and for uninstaller.
       WriteRegStr HKLM "Software\DISTRO\DISTRO-Installer Loader" "bootmgr" "$id"
+    ${Else}
+      StrCpy $id $0
     ${Endif}
     nsExec::Exec '"bcdedit" /set $id device partition=$c'
     nsExec::Exec '"bcdedit" /set $id path \grldr.mbr'
openSUSE Build Service is sponsored by