To: vim-dev@vim.org Subject: patch 5.5.016 (extra) Fcc: outbox From: Bram Moolenaar ------------ Patch 5.5.016 (extra) Problem: Win32: Using regedit to install Vim in the popup menu requires the user to confirm this in a dialog. Solution: Use "regedit /s" to avoid the dialog Files: src/dosinst.c *** ../vim-5.5.15/src/dosinst.c Wed Sep 22 10:06:22 1999 --- src/dosinst.c Sun Oct 3 19:29:30 1999 *************** *** 775,786 **** fprintf(fd, "\"UninstallString\"=\"%suninstal.exe\"\n", buf); fclose(fd); ! system("regedit vim.reg"); /* Can't delete the file, because regedit detaches itself, * thus we don't know when it is finished. */ ! printf("The registry editor has been started to install Vim in the popup menu.\n"); ! printf("Hit the \"Yes\" button in the dialog to confirm this.\n\n"); printf("Use uninstal.exe if you want to remove it again.\n"); printf("Also see \":help win32-popup-menu\" in Vim.\n"); } --- 775,785 ---- fprintf(fd, "\"UninstallString\"=\"%suninstal.exe\"\n", buf); fclose(fd); ! system("regedit /s vim.reg"); /* Can't delete the file, because regedit detaches itself, * thus we don't know when it is finished. */ ! printf("Vim has been installed in the popup menu.\n"); printf("Use uninstal.exe if you want to remove it again.\n"); printf("Also see \":help win32-popup-menu\" in Vim.\n"); } *** ../vim-5.5.15/src/version.c Sat Oct 2 17:33:34 1999 --- src/version.c Sun Oct 3 19:32:21 1999 *************** *** 420,420 **** --- 420,421 ---- { /* Add new patch number below this line */ + 16, -- MAN: You don't frighten us, English pig-dog! Go and boil your bottoms, son of a silly person. I blow my nose on you, so-called Arthur-king, you and your silly English K...kaniggets. He puts hands to his ears and blows a raspberry. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\-- \ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /