Talk:Notepad plus plus

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

This was very helpful, here some changes that I have made:

Delete the Installation Directory after uninstall:

<remove cmd='%ComSpec% /c if exist "%ProgramFiles%\Notepad++" rmdir /S /Q "%ProgramFiles%\Notepad++" /S' />
<remove cmd='%ComSpec% /c if exist "%ProgramFiles(x86)%\Notepad++" rmdir /S /Q "%ProgramFiles(x86)%\Notepad++" /S' />

Delete the Updater Directory so that Automatic Updates are disabled (I just want updates to be done under my control). If someone has some better idea, I would be glad to hear about it.

<install cmd='%ComSpec% /c rmdir /S /Q "%ProgramFiles%\Notepad++\updater"' />
<install cmd='%ComSpec% /c rmdir /S /Q "%ProgramFiles(x86)%\Notepad++\updater"' />
<upgrade cmd='%ComSpec% /c rmdir /S /Q "%ProgramFiles%\Notepad++\updater"' />
<upgrade cmd='%ComSpec% /c rmdir /S /Q "%ProgramFiles(x86)%\Notepad++\updater"' />