Feb 18, 2012
03:29 AM
Grrr.... no, that solution doesn't work. It does work on English language systems but the problem is that you need to specify each class of user using a hardwired string. So you need to set permissions for 'Users' say - or 'Administrators' When a Portuguese customer tried this, we quickly realised that in Portugal, the 'Users' group is called 'Utilizadores' . Our setup.exe file failed with error 1609 and refused to continue - so that was the end of that.! Debbie, this feature needs to work in the same way that pre-defined folders work - e.g. [LocalAppData] is used for convenience within my InstallShield project - but in the outside world it gets translated to whichever folder is relevant on the end-user's system. The same idea (or something similar) needs to work for setting user permissions. Is anything like this implemented in the latest version of InstallShield? If so, this would be a good excuse for me to upgrade.
... View more
Feb 15, 2012
03:16 AM
Thanks again Debbie, especially for that KB link which I'll look into later. I must admit, practical experience has taught me that with the huge variety of Windows installations, there's actually no folder (except for 'My Documents') which guarantees write access for any specific user. Even the folder returned by CSIDL_PERSONAL isn't guaranteed to be writable! So I think that if I can get the installer to configure the folders, it'll hopefully be my best shot. In case anyone else needs to know how to do this, I discovered that I can set permissions based on 'classes' of users. These can somehow be qualified by the addition of a 'domain' but I'm not sure what effect that has and it doesn't seem to be essential. You can leave the Domain field empty if you like. For the relevant components, what I did was to set up two classes of user:- 'Administrators' and 'Users'. For each entry, I specified the required permissions (in my case, they were the same for both cases). This seems to have done the trick. As usual with Windows, it probably won't work on every system. For example, Win7 Home Edition doesn't seem to have Administrators or Users. It seems to just have one class of user called 'Everyone'. However, 'Everyone' seems to have full access to everything - so it should still work, even if it doesn't work (if that makes sense!)
... View more
Feb 13, 2012
09:17 AM
Thanks Debbie. As usual, your reply has prompted me to take a closer look at my project settings. Firstly, my InstallShield project currently specifies [ProgramFilesFolder]Mixbus as the default install destination (i.e. [INSTALLDIR]). That folder has a subfolder called "etc" into which we install some preliminary config files. These folders get created at install time by the InstallShield installation wizard. The actual config files get overwritten when the user first runs our app. Some users (mostly running Windows 7, from what I can tell) are seeing run time errors indicating that it wasn't possible to open the config files. We're assuming (probably reasonably) that this is because the user doesn't have write access to the "etc" folder. However, now it gets interesting... on looking at my project I've discovered that any folder created by InstallShield can be created with specific permissions. I seem to be able to specify permissions under two columns:- 'Domain' and 'User'. I'm not sure though what I need to type into those boxes. The help info window for Destination Permissions recommends not defining any permissions but maybe I should experiment with some. What would you recommend I type into the 'Domain' and 'User' boxes? Also, does InstallShield create a log file at install time? If so and you can tell me where it's likely to be, I'll ask my user to look for it, next time this happens.
... View more
Feb 11, 2012
07:19 AM
Many thanks Debbie. On a separate (but related) topic, is there a way to guarantee that the user will have full access rights to whichever folder he chooses when running my InstallShield setup.exe file? I've assumed that if the user opts to install for "Me Only" he / she would be granted full rights to their chosen installation folder but that doesn't always seem to hold true. Is there anything I can stipulate when I'm building the setup.exe file that will guarantee this?
... View more
Feb 09, 2012
04:18 AM
Thanks again Jonathan - BTW.... jonathanqis wrote: Have you selected 'Cache MSI Locally' from the Releases Setup.exe tab ? If so, have you chosen a location for it that is restricted access or non-exsistant on their system. What would you recommend as a suitable folder? My initial thoughts were either to pick the user's personal folder or maybe the Windows 'temp' folder. But on my system, neither of those folders seem to have any rights set for "Trusted Installer". I suppose I should choose a folder that InstallShield will have access to but I don't know what would be a reliable choice. 😞
... View more
Feb 08, 2012
07:44 AM
Thanks for the prompt reply Jonathan. The only thing I can find which looks similar to what you descibed is under Releases->SingleImage. There's an entry called Cache Web Download which allows me to set a local cache path (currently set to [WindowsFolder]Download Installations. That does seem to match my problem but I'm guessing it isn't exactly what you meant. My installation package builds a conventional setup.exe file. It doesn't download anything from the web AFAIK. Seems like I'm in the right region but should I be looking somewhere else? [Edit...] Ah - I've just realised what must be happening.! These particular customers must be running the setup file directly from our server instead of downloading it locally! I'll try modifying that setting Jonathan and see if it solves the problem. Thanks for the tip.:cool:
... View more
Feb 07, 2012
10:32 AM
This question actually relates to InstallShield 8 but I'll post it here, since the other forums seem to get very little traffic AFAICT. My application's InstallShield setup file (setup.exe) has been downloaded by about 40 oir so users. A significant number of them are reporting seeing an error message like this when they try to run the installer:- Unable to save file C:\WINDOWS\Downloaded Installations\[A-LONG-GUID-NUMBER-HERE\Mixbus.msi The same dialog box usually then shows an error message which is either Access denied or The path is too long or The path was not found Any idea what's goind on? The affected people are almost always in a non-English locale if that helps to shed any light on the issue. [Edit...] I've noticed that the problem often seems to happen when the user's name has an accented character such as René or Göran. Is there something inside InstallShield that I need to be setting up to accommodate this situation?
... View more
Labels
- Labels:
-
InstallShield 2012
Feb 02, 2012
05:49 AM
Thanks for the suggestion Debbie. It worked (if a little strangely). Whenever I've needed to do this kind of thing in the past, I've tended to apply the condition to a feature, rather than to individual components. For example, if I wanted to install some components only on Windows Vista or above I'd create a new feature called (say) InstallVistaOrHigher and I'd set it to check for the condition VersionNT>599. I'd then just place any relevant components into that feature. But VersionNT64 doesn't seem to work that way. I need to set it on the individual components rather than the feature. Does that make any sense to you? It did work but it's a departure from what I'm used to, so I found it a bit confusing.
... View more
Jan 30, 2012
12:50 PM
I've been using installShield for many years and I'm quite used to adding conditions to my various features. For example I often test the value of the VersionNT property so that a feature can get installed on (say) XP but not on Windows 7. Our app is entirely 32 bit but like most 32 bit apps it runs perfectly well on Win64. However, there's one specific component which doesn't need to be installed on a 64 bit system. My understanding is that install conditions only get evaluated if they exist on the destination system. So if you test for a condition that doesn't exist, your component will get installed anyway. According to something I read on Microsoft's MSDN site an MSI installer can find out if a condition exists before evaluating it. To test whether or not it exists you supposedly compare its value to an empty string (""). So in this particular feature I've added the following condition:- VersionNT64="" This should evaluate to TRUE if the user's OS is NOT 64 bit. I expected that the feature would now only get installed on Windows32 and NOT get installed on Windows64 (where VersionNT64 will usually be defined). But in fact my feature and its components get installed in both cases. Is there a way to achieve what I'm trying to do?
... View more
Labels
- Labels:
-
InstallShield 2012
Jan 11, 2012
11:42 PM
I figured it out - though I have to say with very little help from the InstallShield documentation. I found this web page which explained about using Setup Types. In case anyone else needs this, the information shown in the above link is extremely misleading. It implies that Setup Types should be an entry in InstallShield's (left-hand side) view list (along with 'System Configureation' / 'Behaviour and Logic' etc). In fact that's wrong. SetupType (note, all one word and without an 's' on the end) is in fact one of the available UI dialogs. Select Dialogs->SetupType->Behavior. In the dialog's Control Name list, select the 'Next' pushbutton entry. Notice that when the user presses 'Next' (at run time) he will modify the program's Install Level, depending on whether he selects Typical, Minimal or Custom. This affects which features get installed because each feature only gets installed if its its own distinct install level is lower than the program's current install level. All very confusing (as with anything else to do with InstallShield) !!! 😞
... View more
Jan 11, 2012
10:45 AM
I've just relaised that my understanding of the "Install Level" property (of a feature) must be wrong (or at least, incomplete). I'm using an older version of InstallShield but hopeully the same principles will still be relevant. Here's my undersianding.... My Project has an Install Level property (currently set at 200 in my case). Each feature can have its own install level. By default, features are created with an Install Level of 1. All features having an Install Level which is lower than the project's Install Level will get installed - unless the user de-selects them in the Custom Setup dialog. That much I understand. But what happens if I want a feature to get installed when the user selects Typical but not when he selects Minimal? How does this work? Do Typical and Minimal have their own install levels? If not, I don't understand how it works. :confused:
... View more
Labels
- Labels:
-
InstallShield 2011
Dec 13, 2011
02:30 AM
Thanks Debbie. Sorry for the delay in replying. For some reason I couldn't see that page in Internet Explorer. I've needed to use Safari to see it... :confused: One other thing I need to do is to set up an optional "file association" (i.e. when the user clicks files with a certain extension they'll launch my app). Is there a KB article which explains that?
... View more
Dec 08, 2011
05:35 AM
Hi there. I recently posted this question in the Developer 8 forum which rarely gets any traffic these days. Hopefully though, someone here might have the answer.... To cut a long story short, I haven't used InstallShield for a long time and I'm trying to remember how to assign components to Installation types. For example, if I wanted a component to only install for the "Typical" install option but not for the "Minimal" install option, how do I achieve that?
... View more
Labels
- Labels:
-
InstallShield 2012
Aug 19, 2011
04:26 AM
Great reply Cary, thanks! This morning I've been looking at the Help file info for creating InstallScript files. I've gathered that I need to start by adding a file to my project called "Setup.nul" Unfortunately, the Help info doesn't say where exactly I need to add the file. Can I add it to any component or do I need to create a component specially for it? And would it benefit from having its own feature? Or to put it another way.... once I've created a Setup.nul file, how will the InstallScript viewer know about it and how will it know where to find it?
... View more
Aug 18, 2011
12:05 PM
I posted this in the Developer 8 forum (which is what I'm currently using) but although it seems to be getting a lot of views, I don't seem to be getting many answers. However, the same question is probably relevant to InstallShield 2011 which I'm thinking of buying.... For each feature in my project, I can specify install conditions. For example, I can specify "PhysicalMemory" if I want the feature to only get installed if there's X amount of memory. There's also a property called "Intel" which I assume I can use to specify the minimum spec CPU. Unfortunately, though, I can't find any information about setting these parameters. e.g. my app needs to run on a processor which supports SSE extensions. Intel first introduced this in the Pentium III - so how do I specify that as my minimum spec CPU? Ditto for physical memory. What actual value do I enter to specify say, 2GB as being the minimum memory requirement?
... View more
Labels
- Labels:
-
InstallShield 2011
Latest posts by John_E
Subject | Views | Posted |
---|---|---|
1104 | Feb 18, 2012 03:29 AM | |
1104 | Feb 15, 2012 03:16 AM | |
1765 | Feb 13, 2012 09:17 AM | |
1765 | Feb 11, 2012 07:19 AM | |
1765 | Feb 09, 2012 04:18 AM | |
1765 | Feb 08, 2012 07:44 AM | |
5041 | Feb 07, 2012 10:32 AM | |
629 | Feb 02, 2012 05:49 AM | |
2990 | Jan 30, 2012 12:50 PM | |
475 | Jan 11, 2012 11:42 PM |
Activity Feed
- Posted Re: Installer Failures on InstallShield Forum. Feb 18, 2012 03:29 AM
- Posted Re: Installer Failures on InstallShield Forum. Feb 15, 2012 03:16 AM
- Posted Re: Installer Failures on InstallShield Forum. Feb 13, 2012 09:17 AM
- Posted Re: Installer Failures on InstallShield Forum. Feb 11, 2012 07:19 AM
- Posted Re: Installer Failures on InstallShield Forum. Feb 09, 2012 04:18 AM
- Posted Re: Installer Failures on InstallShield Forum. Feb 08, 2012 07:44 AM
- Posted Installer Failures on InstallShield Forum. Feb 07, 2012 10:32 AM
- Posted Re: Evaluating a condition that doesn't exist on InstallShield Forum. Feb 02, 2012 05:49 AM
- Posted Evaluating a condition that doesn't exist on InstallShield Forum. Jan 30, 2012 12:50 PM
- Posted Re: Feature Installation Level on InstallShield Forum. Jan 11, 2012 11:42 PM
- Posted Feature Installation Level on InstallShield Forum. Jan 11, 2012 10:45 AM
- Posted Re: Components and Installation Types on InstallShield Forum. Dec 13, 2011 02:30 AM
- Posted Components and Installation Types on InstallShield Forum. Dec 08, 2011 05:35 AM
- Posted Re: Setting the minimum spec CPU etc. on InstallShield Forum. Aug 19, 2011 04:26 AM
- Posted Setting the minimum spec CPU etc. on InstallShield Forum. Aug 18, 2011 12:05 PM
- Posted Re: Understanding Key files on InstallShield Forum. Apr 22, 2011 02:02 AM
- Posted Re: Understanding Key files on InstallShield Forum. Apr 22, 2011 01:12 AM
- Posted Understanding Key files on InstallShield Forum. Apr 21, 2011 02:05 PM