Old 5th November 2012, 09:33   #1
dr_awol
Junior Member
 
Join Date: Jul 2012
Posts: 8
Wpatch Help

Im trying to create a patch for software already installed somewhere and a found the plugin Wpatch

so ive created a bat file that
WGenPatDir.exe --precise --exclude *.tmp;.svn dir2 dir1 (old and new svn software locations)

I want to create a nsi file that updates location InstallDir $PROGRAMFILES\mySoftware

but it does not seam to update the files in that location, I believe im following the Wpatch instructions correctly.


code:
Name "Sample WPatch"
OutFile Sample.exe
ShowInstDetails show
InstallDir $PROGRAMFILES\mySoftware

Section
InitPluginsDir

SectionEnd

!include WGenPatDir.nsh

Section
IfErrors 0 +2
MessageBox MB_OK "There has been some errors !"
SectionEnd


Last edited by dr_awol; 5th November 2012 at 09:35. Reason: my rubbish grammer
dr_awol is offline   Reply With Quote
Old 6th November 2012, 07:55   #2
dr_awol
Junior Member
 
Join Date: Jul 2012
Posts: 8
im thinking its better if i use NSIS Patch Generator
dr_awol is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump