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.
gayathrim
Level 4
- Revenera Community
- :
- About gayathrim
Nov 28, 2011
04:24 AM
hi, I also have a requirement for adding tooltip in custom dialog for Installscript MSI project. Did you find solution? Please let me know Thanks, Gayathri
... View more
Jul 05, 2011
07:23 AM
Hi Rakesh, Below is the sample code for dialog with 3 radio buttons as per ur requirement ********************************************************** #define DIALOG_ID 12611 //define dialog id in properties #define radiobutton1 1302 //radiobutton control id #define radiobutton2 1303 #define radiobutton3 1304 #define BUT_BACK 12 #define BUT_NEXT 1 #define BUT_CANCEL 9 prototype Options(); BOOL bone, btwo, bthree; function Options() STRING szDialogName; BOOL bDone; NUMBER nResult, nCmdValue, returnVal, hInstance, nReturn, hwndDlg; begin // Specify a name to identify the custom dialog in this setup. szDialogName = "Options"; // Define the dialog. Pass a null string in the second parameter // to get the dialog from _isuser.dll or _isres.dll. Pass a null // string in the third parameter because the dialog is identified // by its ID in the fourth parameter. nResult = EzDefineDialog(szDialogName, "", "", DIALOG_ID); if (nResult < 0) then // Report an error; then terminate. MessageBox ("Error in defining dialog", SEVERE); abort; endif; // Initialize the indicator used to control the while loop. bDone = FALSE; // Loop until done. repeat // Display the dialog and return the next dialog event. nCmdValue = WaitOnDialog("Options"); //Options is the dialog name // Respond to the event. switch (nCmdValue) case DLG_CLOSE: Do (EXIT); case DLG_ERR: MessageBox ("Dialog failed.", SEVERE); abort; bDone = TRUE; case DLG_INIT: //write code on intialization case radiobutton1: bone = CtrlGetState("Options", radiobutton1); case radiobutton2: btwo = CtrlGetState("Options", radiobutton2); case radiobutton3: bthree = CtrlGetState("Options", radiobutton3); case BUT_CANCEL: //Cancel button Do(EXIT); case BUT_BACK: returnVal = 12; bDone = TRUE; case BUT_NEXT: bone = CtrlGetState("Options", radiobutton1); btwo = CtrlGetState("Options", radiobutton2); bthree = CtrlGetState("Options", radiobutton3); returnVal = 1; bDone = TRUE; endswitch; until bDone; // Close the dialog box. EndDialog("Options"); // Free the dialog box from memory. ReleaseDialog("Options"); return returnVal; end; ********************************************************** if you want to launch exe in the beginning, then in OnBegin event, function OnBegin() begin nReturn = Options(); //custom dialog if(nReturn = NEXT) then //place your exes in SUPPORTDIR if(bone = BUTTON_CHECKED) then LaunchAppAndWait("cmd /c ", SUPPORTDIR ^ "one.exe", WAIT); elseif(btwo = BUTTON_CHECKED) then LaunchAppAndWait("cmd /c ", SUPPORTDIR ^ "two.exe", WAIT); elseif(bthree = BUTTON_CHECKED) then LaunchAppAndWait("cmd /c ", SUPPORTDIR ^ "three.exe", WAIT); endif; endif; end; This is sample only please change accordingly. Hope this helps Thanks, Gayathri
... View more
Jul 05, 2011
05:18 AM
Strange!! No one came through this requirement? Can't we provide date option in installshield???
... View more
Jul 05, 2011
05:03 AM
You need to change product code for major upgrade. Thanks, Gayathri
... View more
Jul 05, 2011
04:58 AM
Hi Rakesh, If you are using Installscript msi project, then create a custom dialog providing three options and depending upon the selection, launch respective exe. Hope this helps Thanks, Gayathri
... View more
Jun 28, 2011
08:03 AM
I have a text field. User enters date in that field. I need to convert this string to date/Time format and pass it to a dotnet dll method which is of dattime data type. Anyone please tell me how to convert string to date. This is urgent 😞 Thanks Gayathri
... View more
Jun 24, 2011
04:54 AM
Hi All Any one please tell me how to create a date field in custom dialog. Thanks Gayathri
... View more
Labels
- Labels:
-
InstallShield 2008
Dec 02, 2010
03:05 AM
hi chandan, did u get solution for this? If yes, please tell me what did u do for silent install Thanks, Gayathri
... View more
Nov 23, 2010
06:05 AM
Hi Robert, You can use FeatureSetTarget for setting different paths to different components. Thanks, Gayathri
... View more
Mar 03, 2010
04:28 AM
Hi All, I have a requirement which have to be done with install. i am using Installscript MSI project. I need to compare two xml files(lets say a.xml & b.xml) and if any new entries are there in b.xml then it should be appended to a.xml. example: file 1 : a.xml 3 5 2 file 2: b.xml 1 1 2 required output 3 5 2 2 Only new entry from b.xml should be added to a.xml Anyone please suggest me a solution how to implement this.. Thanks in advance Gayathri
... View more
Labels
- Labels:
-
InstallShield 2008
Feb 18, 2010
11:40 PM
Go to Release Wizard, select Network Image option as Media Type and Compress all files option. This will create a single file exe (setup.exe only). This can be done for Installscript MSI project.
... View more
Feb 17, 2010
06:27 AM
I hope u already got the solution..anyways my idea for this..if its an installscript msi project u can achieve this by using custom dialog and updating the values dynamically from ur script
... View more
Dec 21, 2009
05:49 AM
hi, After getting the list of sites, place them in a text file. And read them from text file to your combo box. Please see below example. szFile = "C:\\Site_List.txt"; //text file which contains the list of sites listId = ListCreate(STRINGLIST); //create a list in your script ListReadFromFile(listId, szFile); //reads from text file into your list CtrlSetList("DialogName", listbox, listId); //sets the values into your combo box where listbox is the id of combo box Note: this is for installscript project with custom dialog. Hope this helps! Thanks, Gayathri
... View more
Latest posts by gayathrim
Subject | Views | Posted |
---|---|---|
995 | Nov 28, 2011 04:24 AM | |
1767 | Jul 05, 2011 07:23 AM | |
970 | Jul 05, 2011 05:18 AM | |
1333 | Jul 05, 2011 05:03 AM | |
1767 | Jul 05, 2011 04:58 AM | |
970 | Jun 28, 2011 08:03 AM | |
2689 | Jun 24, 2011 04:54 AM | |
1443 | Dec 02, 2010 03:05 AM | |
855 | Nov 23, 2010 06:05 AM | |
901 | Mar 09, 2010 01:27 AM |
Activity Feed
- Posted Re: Adding tooltip in InstallScript MSI project on InstallShield Forum. Nov 28, 2011 04:24 AM
- Posted Re: Need help in creating option based installer on InstallShield Forum. Jul 05, 2011 07:23 AM
- Posted Re: Date field in custom dialog on InstallShield Forum. Jul 05, 2011 05:18 AM
- Posted Re: Upgrade on InstallShield Forum. Jul 05, 2011 05:03 AM
- Posted Re: Need help in creating option based installer on InstallShield Forum. Jul 05, 2011 04:58 AM
- Posted please give solution on InstallShield Forum. Jun 28, 2011 08:03 AM
- Posted Date field in custom dialog on InstallShield Forum. Jun 24, 2011 04:54 AM
- Posted Re: Silent install not working for more than one feature on InstallShield Forum. Dec 02, 2010 03:05 AM
- Posted Re: Changing INSTALLDIR on the Fly on InstallShield Forum. Nov 23, 2010 06:05 AM
- Posted Re: XML files merging on InstallShield Forum. Mar 09, 2010 01:27 AM
- Posted XML files merging on InstallShield Forum. Mar 03, 2010 04:28 AM
- Posted Re: How to create a single-file installer on InstallShield Forum. Feb 18, 2010 11:40 PM
- Posted Re: Force dialog box to appear first on InstallShield Forum. Feb 18, 2010 11:02 PM
- Posted Re: How to Display installed setups with progress bar? on InstallShield Forum. Feb 17, 2010 06:27 AM
- Posted Re: Need some help with dialog box (combo box) on InstallShield Forum. Dec 21, 2009 05:49 AM
- Posted Re: Setting Application Protection to Medium on InstallShield Forum. Jul 16, 2008 03:38 AM
- Posted Setting Application Protection to Medium on InstallShield Forum. Jul 11, 2008 03:01 AM
Contact Me
Online Status |
Offline
|
Date Last Visited |
Mar 18, 2019
12:11 PM
|