- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to close the SdDiskSpace2 dialog?
- 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
Hi all,
I'm using InstallShield 2016 and my project is InstallScript MSI.
I faced a problem today. My installer need to
When i click "install" button on SdStartCopy2 dialog, I need to check if there is enough diskspace. If isn't, i need to jump to SdDiskSpace2 dialog. On SdDiskSpace2 dialog, click the "OK" button and the installer will go to SdSetupCompleteError dialog.
It looks like:
... => SdStartCopy2 => SdDiskSpace2 => SdSetupCompleteError => END
But when I use the codes below, of course SdSetupCompleteError dialog will show. Howerver, SdDiskSpace2 dialog is still there. And I want to close it.
SdSetupCompleteError("", "", "");
I have tried following codes, but they didn't work.
EndDialog("SdDiskSpace2");
ReleaseDialog("SdDiskSpace2");
SdSetupCompleteError("", "", "");
It seems the name is wrong and i couldn't find the correct name of SdDiskSpace2 dialog.
It will be nice if anyone have any ideas.
Thanks a lot.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oh, I have found the name.
It's just at the beginning of the function.
The name will be "SD_DLG_OUTOFDISKSPACE" or "SD_DLG_DISKSPACEREQUIREMENTS"
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oh, I have found the name.
It's just at the beginning of the function.
The name will be "SD_DLG_OUTOFDISKSPACE" or "SD_DLG_DISKSPACEREQUIREMENTS"