makensisw now takes same paramters as makensis (path to makensis.exe is no longer passed)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@907 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
7e0d30e86d
commit
a366fe072f
3 changed files with 5 additions and 0 deletions
|
@ -141,6 +141,7 @@ Version History
|
|||
1.9
|
||||
- Text always scrolls to bottom (Kickik)
|
||||
- Updated link to new docs
|
||||
- Makensisw now takes the same parameters as makensis
|
||||
|
||||
|
||||
Copyright Information
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#define REGSEC HKEY_LOCAL_MACHINE
|
||||
#define REGKEY "Software\\NSIS"
|
||||
#define REGLOC "MakeNSISWPlacement"
|
||||
#define EXENAME "makensis.exe"
|
||||
#define MAX_STRING 256
|
||||
#define TIMEOUT 150
|
||||
#define MINWIDTH 350
|
||||
|
|
|
@ -129,6 +129,7 @@ void EnableItems(HWND hwnd) {
|
|||
}
|
||||
|
||||
void CompileNSISScript() {
|
||||
char s[MAX_PATH];
|
||||
ClearLog(g_hwnd);
|
||||
SetTitle(g_hwnd,NULL);
|
||||
SetBranding(g_hwnd);
|
||||
|
@ -141,6 +142,8 @@ void CompileNSISScript() {
|
|||
EnableWindow(GetDlgItem(g_hwnd,IDC_TEST),0);
|
||||
return;
|
||||
}
|
||||
wsprintf(s,"%s %s",EXENAME,g_script);
|
||||
lstrcpy(g_script,s);
|
||||
// Disable buttons during compile
|
||||
DisableItems(g_hwnd);
|
||||
DWORD id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue