summaryrefslogtreecommitdiff
path: root/Source/exehead/state.h
blob: 94d04f6abc422990959d362eb01f44a4ef2fbf27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
 * fileform.h
 * 
 * This file is a part of NSIS.
 * 
 * Copyright (C) 1999-2009 Nullsoft and Contributors
 * 
 * Licensed under the zlib/libpng license (the "License");
 * you may not use this file except in compliance with the License.
 * 
 * Licence details can be found in the file COPYING.
 * 
 * This software is provided 'as-is', without any express or implied
 * warranty.
 */

#include "fileform.h"

extern NSIS_STRING g_usrvars[1];

#define state_command_line        g_usrvars[20]
#define state_install_directory   g_usrvars[21]
#define state_output_directory    g_usrvars[22]
#define state_exe_directory       g_usrvars[23]
#define state_language            g_usrvars[24] 
#define state_temp_dir            g_usrvars[25]
#ifdef NSIS_CONFIG_PLUGIN_SUPPORT
#  define state_plugins_dir       g_usrvars[26]
#endif
#define state_exe_path            g_usrvars[27]
#define state_exe_file            g_usrvars[28]
#define state_click_next          g_usrvars[30]

extern char g_caption[NSIS_MAX_STRLEN*2];
#ifdef NSIS_CONFIG_VISIBLE_SUPPORT
extern HWND g_hwnd;
extern HANDLE g_hInstance;
extern HWND insthwnd,insthwndbutton;
#else
#define g_hwnd 0
#define g_hInstance 0
#endif//NSIS_CONFIG_VISIBLE_SUPPORT