This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Parameters not understood
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 17, 2013
01:00 PM
Parameters not understood
Below is a snippet from the documented CREATEFULE example
#define EXAMPLE_DIR "C:\\"
#define EXAMPLE_FILE "ISExampl.txt"
// Include Ifx.h for built-in InstallScript function prototypes.
#include "Ifx.h"
export prototype ExFn_CreateFile(HWND);
function ExFn_CreateFile(hMSI)
STRING szTitle, szMsg;
NUMBER nvFileHandle
In the line export prototype ExFn_CreateFile(HWND);, what is HWND
In the line function ExFn_CreateFile(hMSI), What is hMSI
I can't find the explanation in the documentation and can't write my own function without understanding the paramters. All the functions I have looked at have similar parameters in the examples.
Thanks for any help.
Melvyn Polatchek
#define EXAMPLE_DIR "C:\\"
#define EXAMPLE_FILE "ISExampl.txt"
// Include Ifx.h for built-in InstallScript function prototypes.
#include "Ifx.h"
export prototype ExFn_CreateFile(HWND);
function ExFn_CreateFile(hMSI)
STRING szTitle, szMsg;
NUMBER nvFileHandle
In the line export prototype ExFn_CreateFile(HWND);, what is HWND
In the line function ExFn_CreateFile(hMSI), What is hMSI
I can't find the explanation in the documentation and can't write my own function without understanding the paramters. All the functions I have looked at have similar parameters in the examples.
Thanks for any help.
Melvyn Polatchek
- Tags:
- parameters
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 18, 2013
03:23 PM
http://kb.flexerasoftware.com/doc/Helpnet/installshield19helplib/Subsystems/installshield19langref/helplibrary/LangrefData_types.htm
HWND:
Handle to a window. The HWND variable type also can be used to store any other type of handle valid in Windows. HWND variables are normally initialized using the CmdGetHwndDlg or GetWindowHandle functions. Internally, HWND variables are equivalent to the data type NUMBER.
By extension, I would guess hMSI is a handle to your MSI file. I don't have much experience with that though.
HTH
HWND:
Handle to a window. The HWND variable type also can be used to store any other type of handle valid in Windows. HWND variables are normally initialized using the CmdGetHwndDlg or GetWindowHandle functions. Internally, HWND variables are equivalent to the data type NUMBER.
By extension, I would guess hMSI is a handle to your MSI file. I don't have much experience with that though.
HTH
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)