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
- :
- How to debug installation
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
May 04, 2012
05:15 AM
How to debug installation
Hi, everyone.
I have a very simple project. I created 3 InstallScript function, one of them, InitializeINSTALLDIR
This function is connected with button "Next" on the Dialog "WelcomeInstall".
But, when I click "Next" my installation stopped. Please, check attachment. How I can know the reason for stopped installation?
I have a very simple project. I created 3 InstallScript function, one of them, InitializeINSTALLDIR
#include "ifx.h"
#include "iswi.h"
// The keyword export identifies MyFunction() as an entry-point function.
// The argument it accepts must be a handle to the Installer database.
export prototype InitializeINSTALLDIR(HWND);
function InitializeINSTALLDIR(hMSI)
STRING szInstDir;
NUMBER nvCount;
INT result;
begin
nvCount = MAX_PATH;
result = GetEnvVar ("FIPLAN_HOME", szInstDir);
result = MsiSetProperty(hMSI, "INSTALLDIR", szInstDir);
INSTALLDIR = szInstDir;
end;
This function is connected with button "Next" on the Dialog "WelcomeInstall".
But, when I click "Next" my installation stopped. Please, check attachment. How I can know the reason for stopped installation?
(1) Reply
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 04, 2012
09:12 AM
F5 start debugging.
Firstly, you need to define a custom action to call your InitializeINSTALLDIR function.
Then specify DoAction event's argument with your CA's name, set the condition to 1
Firstly, you need to define a custom action to call your InitializeINSTALLDIR function.
Then specify DoAction event's argument with your CA's name, set the condition to 1