A major requirement of this package is for the Notepad.exe in System32 folder to be replaced by Notepad.exe supplied by UltraEdit application. This is to enable Notepad to always start with Ultraedit-32. But the main problem here was that Notepad.exe is a Windows Files Protected. i.e WFP.. This meant that Windows Installer was prevented from replacing this file. Windows Installer never attempts to install or replace a protected file.(see Microsoft website for more information). However, in order to bring about the desired result, that is , allowing the file NOTEPAD.exe to be replaced by Windows Installer, I undertook the following:
Wrote a batch file to rename notepad.exe in System32 folder to notepad.exe1. Created a WiseScript to incorporate the this batch file. Thereafter, through custom action call this WiseScript. Another script was also written to rename the Notepad.exe1 to its normal name during un-install using IF Statement at the Custom action.
- Install UltraEdit normally like you want it.
- register it...
- Copy ueinstall.sss and uedit32.REG from the UltraEdit directory and copy it in the same directory of the Setup.
- Rename ueinstall.sss to uesetup.sss (in case the setup is named uesetup.exe)
- Call uesetup.exe /s
- copy uedit32.REG do install dir
Questions & Answers related to IDM Computers Solutions,Inc. UltraEdit32
Blogs (0)
Blog posts related to IDM Computers Solutions,Inc. UltraEdit32
Links (0)
Links related to IDM Computers Solutions,Inc. UltraEdit32
Reviews (0)
Reviews related to IDM Computers Solutions,Inc. UltraEdit32
This website uses cookies.
By continuing to use this site and/or clicking the "Accept" button you are providing consent
Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our
websites or when you do business with us. For more information about our
Privacy Policy and our data protection
efforts, please visit
GDPR-HQ