Oct 11, 2010
09:00 AM
This is the settings of the feature. The item does not have any Required Features. http://i.imgur.com/d0SN9.jpg
... View more
Oct 10, 2010
10:15 PM
mirik222 wrote: Hi. Do you have any "Required Features" relations between this and other features? No there shouldn't be. I will double check my scripts but there shouldn't be any "Required Features". I did in fact create an test feature and left everything by default and I had the same results. So I'm not sure what is going on.
... View more
Oct 08, 2010
03:20 PM
I am making the FeatureSelectItem call from the OnBegin function. NumToStr(temp, FeatureIsItemSelected(MEDIA, "test")); MessageBox(temp,INFORMATION); FeatureSelectItem(MEDIA, "test", FALSE); NumToStr(temp, FeatureIsItemSelected(MEDIA, "test")); MessageBox(temp,INFORMATION); The feature is on in the first MessageBox and is disabled in the next MessageBox as you would expect. The issue is that on the "Select Features" dialog the feature is checked. How would I go about disabling the check box?
... View more
Labels
- Labels:
-
InstallShield 2010
Jul 15, 2010
01:28 PM
So I eventually figured out a solution to the problem... On the "InstallChangeFolder" dialog box I added a "Volume Select Combo". named the property "INSTALLDRIVE" left the indirect property as "False". On the "Ok" button I added the following [FEATURENAME] [INSTALLDRIVE] 1 SetTargetPath [_BrowseProperty] 1 and left everything else the same. Most of what I did was taken from this thread http://community.flexerasoftware.com/showthread.php?t=145774&highlight=Select+Drive This seems to be a common question, it surprises me that there is no clear concise and accurate solution. Hopefully this helps someone else out.
... View more
Jul 15, 2010
12:59 PM
Ajay Ladsaria wrote: It looks like you were going for mutually exclusive conditions on the DoAction and EndDialog control events. However, your conditions are not mutually exclusive. Incorrect: NOT (SELECTED_DISK="C:\") OR NOT (SELECTED_DISK="D:\") Correct: NOT (SELECTED_DISK="C:\" OR SELECTED_DISK="D:\") Also Correct: SELECTED_DISK<>"C:\" AND SELECTED_DISK<>"D:\" Perhaps changing the condition to be mutually exclusive will fix the problem? You are correct. But that did not resolve the problem. Apparently the error dialog box is designed to close the installer, which is not what I wanted it to do. What I ended up doing is making an InstallScript and using the "MessageBox" function to prompt the user. function InvalidDriveMessage(hMSI) begin MessageBox ( 'Your selection was invalid. You must select drive C:\\ or D:\\' , INFORMATION ); end; This worked as I expected.
... View more
Jul 15, 2010
10:52 AM
I am having some trouble with prompting the user with a simple custom action "Error" message. I created the error and left everything with the default settings. In my Dialog box I created a "DoAction" event and called the custom action when the user presses the "OK" button. I then put a condition on the error based on what path the user picks. If the user picks an invalid drive the error is displayed and it stays on the current dialog (the dialog that generate the error) if they pick a valid drive the error does not show up and the installer continues. My condition is working because if the user pick a valid selection it doesn't error as it should. The problem is when the user selects an invalid option, the error message displays as expected but then I get a "MSIEXEC.exe application error" The instruction at "0x0013a008" referenced memory at "0x013a008". The memory could not be "written". Ok and cancel. I tried changing the event order on the "OK" to have the DoAction before the return and I also tried it after the return but still have the same problem. [CODE] Event Arguement Condition [FEATURENAME] [SELECT_DISK]Path SetTargetPAth [_BrowseProperty] DoAction InstallDriveError NOT (SELECTED_DISK="C:\") OR NOT (SELECTED_DISK="D:\") EndDialog Return (SELECTED_DISK="C:\") OR (SELECTED_DISK="D:\") [/CODE]
... View more
Labels
- Labels:
-
InstallShield 2010
Jul 13, 2010
01:29 PM
joshstechnij wrote: There needs to be a public property specified in the "Property" setting for a VolumeSelectCombo control. For example, specify SELECTEDVOLUME as a public property name. If Property field for this control is left blank, runtime error 2819 will occur. I think I figured out what I need but running into a little snag... I created a Volume Select Combo and assigned it a property value of "_BrowserPropperty" and changed it to be an "Indirect Property". That changes the installation location do "C:\" or "D:\" or whatever is in the dropdown menu but I want to append my own folder on behind it. E.g. (C:\MyApplication\ApplicationFile). I tried doing [_BrowseProperty]\MyApplication but that didn't work out.
... View more
Jul 12, 2010
10:50 AM
As per the thread below. I am wanting to only allow the user to pick drive that the software gets installed on and not the path (E.g. X:\Program Files\MyApp). X being the only thing they can select. I think I found what I want in the Dialogs designer with "Volume Select Combo". But I am getting "Error: 2819. Control VolumeSelectCombo on dialog CustomSetup needs a property linked to it." I can't seem to add a property in the "Property Manager" with a space in it or even if that is a solution to the problem. Any feedback on a better way of doing it would be appreciated. http://community.flexerasoftware.com/showthread.php?t=194091 I posted the above thread in the wrong location.
... View more
Labels
- Labels:
-
InstallShield 2010
Jul 08, 2010
02:25 PM
pv7721 wrote: I'm afraid you're now talking of some options that I've never heard of... So are you sure you're talking about InstallAnywhere? I apologize, I am not using InstallAnywhere 2010. I am using InstallShield 2010. I am requesting a mod to move this to the appropriate section. Thank you.
... View more
Jul 08, 2010
09:44 AM
pv7721 wrote: In the Choose Install Folder you have a checkbox that disable manual path choosing, so all the end user can use is browsing in order to select the desired drive and path. Sorry for my ignorance here but I can't seem to find a "Choose Install Folder" option. Are you talking about "Destination" for the feature or component? Or are you talking about the dialog itself possibly? Or are you talking about in the "Project Assistant" in the "Installation Interview" section the question asking "Do you want your users to be able to modify the installation location of your application?". I already have that option turned to "No" in the Project assistant.
... View more
Jul 07, 2010
04:37 PM
Is there a way not allow the user the ability to specify a path but allow them to select the drive that they want to install the component on? For example my application will go in X:\blah\app where X is whatever drive the user picks for that specific component.
... View more
Labels
- Labels:
-
InstallAnywhere 2010
Jun 28, 2010
04:33 PM
As the title says. For example if have ANY version installed new or old, I want the installer to stop and prompt the user with a custom message explaining what needs to be done. If you are going to say "use the upgrade feature", we are dealing with binary database files which need SQL scripts (SQLAnywhere) to be run against the database and we haven't found an easy way of doing that through IS other than just executing BAT files. And if one of them fails we are scared we are going to end up being in some funny state with IS (correct us if we are wrong). Any suggestions would be appreciated on the matter though. As a stop gap though we are trying to do something as my first question.
... View more
Labels
- Labels:
-
InstallShield 2010
May 22, 2009
03:56 PM
I am trying to make a new major update for our product but I am having some issues. This is what I did. 1. Updated the PAckage Code 2. Changed "Version" number in the Product Properties page. 3. Change the "Product Code" 4. Went into the Media "Upgrades" section and added a "Major Upgrade Item". Everything builds and it states in the build log that it is generating a "Major Upgrade". The problem is if I install the first version (1.0) and then try running the upgrade exe (2.0 setup .exe) our program EXE gets removed and the desktop icon gets removed but the new exe doesn't get installed and the desktop icon doesn't get created. But I go check the Add/Remove programs and two entries for our product is in the list. If I have a virgin machine and install the newest installation program (the 2.0 exe) everything gets created just fine.
... View more
Labels
- Labels:
-
InstallShield 2009
Latest posts by kvasko
Subject | Views | Posted |
---|---|---|
789 | Oct 11, 2010 09:00 AM | |
789 | Oct 10, 2010 10:15 PM | |
1957 | Oct 08, 2010 03:20 PM | |
756 | Jul 15, 2010 01:28 PM | |
819 | Jul 15, 2010 12:59 PM | |
2289 | Jul 15, 2010 10:52 AM | |
756 | Jul 13, 2010 01:29 PM | |
2093 | Jul 12, 2010 10:50 AM | |
770 | Jul 08, 2010 02:25 PM | |
770 | Jul 08, 2010 09:44 AM |
Activity Feed
- Posted Re: FeatureSelectItem not unchecking in dialog box on InstallShield Forum. Oct 11, 2010 09:00 AM
- Posted Re: FeatureSelectItem not unchecking in dialog box on InstallShield Forum. Oct 10, 2010 10:15 PM
- Posted FeatureSelectItem not unchecking in dialog box on InstallShield Forum. Oct 08, 2010 03:20 PM
- Posted Re: Allow only selectable drives on InstallShield Forum. Jul 15, 2010 01:28 PM
- Posted Re: Custom Action Error crashes installer on InstallShield Forum. Jul 15, 2010 12:59 PM
- Posted Custom Action Error crashes installer on InstallShield Forum. Jul 15, 2010 10:52 AM
- Posted Re: Allow only selectable drives on InstallShield Forum. Jul 13, 2010 01:29 PM
- Posted Allow only selectable drives on InstallShield Forum. Jul 12, 2010 10:50 AM
- Posted Re: Allow only selectable drives on InstallAnywhere Forum. Jul 08, 2010 02:25 PM
- Posted Re: Allow only selectable drives on InstallAnywhere Forum. Jul 08, 2010 09:44 AM
- Posted Allow only selectable drives on InstallAnywhere Forum. Jul 07, 2010 04:37 PM
- Posted Stop Installation + Prompt User if previously installed on InstallShield Forum. Jun 28, 2010 04:33 PM
- Posted Major Upgrade not changing files on InstallShield Forum. May 22, 2009 03:56 PM