This website uses cookies. By clicking OK, 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.
1Gunn1
Flexera beginner
Feb 25, 2020
09:28 AM
I want to add an environment variable to install with my application. I want it to install to the System area of the environment variables if the person doing the installation has administrative privileges. But if not, I want it to place the environment variable into the current User area. I can't figure out how to accomplish this easily?! In the Environment Variables view, when you add a variable, the only option for "Type" is "System" or "User". If I choose "System" and try to install as a normal user with privileges, I get an error during the installation process, near the end about not being able to add the environment variable. Doesn't it make sense to have an option like the registry has (and which I take advantage of) to place registry keys in HKEY_USER_SELECTABLE? That's easy! If I'm overlooking something and there is an easy way, please let me know. Thanks,
... View more
Aug 21, 2019
03:13 PM
Thank you for the additional information and the screenshot. I changed that setting to "Administrator" and now the installer icon has the shield on it and it immediately prompts me for the administrator UAC when I run it. That works perfectly, better than I had it set with the ALLUSERS flag, which would wait until I attempted to begin copying files to prompt the UAC dialog. But on your other comment, I'm guessing those variables like the AppData folder will resolve to the administrator's AppData folder when it is being installed, right? What I ideally want is to use the user's AppData" folder to create folders and files...not the admin's. Is that possible? Thanks!
... View more
Aug 15, 2019
11:11 AM
Thank you, I read the link you provided. I need to clarify some of my comments... The application itself that I am installing can be run by -anyone-. That's not the problem. However, we only want it installed by an administrator (into the Program Files folder where it can't be modified). So I don't think I need to do anything with execution level privileges on the application. My real question is, is it possible for an admin to install our application to Program Files, but have the installer somehow add folders and files in a users Documents or AppData folders, where we could put files we don't care if the end user modifies or not. We just need to protect some files...but not all of them. Thanks, Tom
... View more
Aug 15, 2019
08:41 AM
We are required to create our installers so that our product can only be installed by an administrator. I have set the flags correct to do this and it seems to be working. The problem now is that I'd also like to create folders and files for the end-users who'll be using the software. Something like creating folders and files under "My Documents", etc. Is this possible? I understand the problem that the admin account installing the software doesn't know who the end-users are. But I was curious as I have seen other software (Visual Studio, MATLAB, etc.) where I find a "Visual Studio 20xx" folder under My Documents with subfolders and files, even though it was installed by an admin. Otherwise, what might be my options here, if any? Creating separate admin and user installs?... Thanks,
... View more
- Tags:
- admin
- administrator
Labels
Nov 30, 2017
09:00 AM
I am also now having the same issue with InstallShield 2012 Spring. It is causing my Windows 10 PC to crash (blue screen) with the error ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY. This did not happen on this same machine when Windows 7 was the operating system. It seems to crash when COM information is being extracted from my .exe file (marked as the key file in a component). Using the info from others in this thread, when I turn off the COM extraction, the installer builds just fine. Is there a patch to fix this on Windows 10, or another alternative? (Dismayed to see Installshield 2015 doesn't work either). We're not in a position to spend > $1k of money just to fix this issue! Thanks,
... View more
Dec 10, 2013
07:26 AM
scottd72 wrote: Did you ever figure out why folders with Data value = 1 in Windows\CurrentVersion\Installer\Folders get left behind after uninstall? No, I never have. And it still messes up my uninstall, leaving folders behind. The folders it leaves behind are ones where I had chose Dynamic File Linking and checked the 'Include Subfolders' option... I'm not using Installshield Spring 2012, with same issues.
... View more
Jun 02, 2010
07:36 AM
Vijay__K wrote: Hi, Yes, that's right, the remove file tanble can be used. There is also a trick to remove the whole directory, you need to leave the filename in the table empty. This method can be used to remove alot of files, then once the upgarde continues, you can put other files that are needed back using a new component or such. The drawback to this method though is that you may be inadvertantly removing files that the user created after they originally installed your product...and that might not be a good idea. Just something to consider...
... View more
Jun 02, 2010
07:16 AM
So I had a crash with Installshield 2010 a few weeks ago. I wanted to report it. I couldn't find a link on the main webpage to submit an issue, but I saw there was an Account Login section. So I filled out for an account. I received an email back saying that I couldn't get an account because I had no maintenance license. I was told that if I wanted to submit a bug report, I would have to purchase a per incident support request and if it turned out to be a legitimate bug, I would be refunded! Is this not the most ridiculous thing you've ever heard?! I would think as a pure customer feedback improvement experience, they would welcome bug reports and feature requests. Is this forum a mechanism for such reports and requests? If there is no other way to get information to Flexera, then this must be it. I've been a customer of Installshield since IS5; a long time. And yet there are things in the IDE that are still nuisances to this very day. Is this because there's no easy way to submit these type of requests?!!
... View more
Labels
Jun 01, 2010
04:22 PM
So my Basic MSI project has begun to leave folders around after an uninstall. No files, just empty folders. I can't figure out why. If I install on a fresh OS install clean machine, then my app files get uninstalled perfectly. But on some machines that have been around for awhile, they do not. The only thing I have been able to discover as a clue is the registry location HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders . There are various string values here, each relating to an individual directory in my installer. Some of the values have the data column filled out with a '1', other values have the data field empty. After uninstall, only string values that have a data column value of '1' remain. What does this registry key mean and what does the data field of the values indicate? Is there a way to change it through the IDE? The other clue is that these folders are all part of components where I am using 'dynamic file linking', and including subfolders in that linking. Why might these directories not be uninstalling?! Thanks,
... View more
Labels
Nov 22, 2006
03:00 PM
Not to raise this from the dead, but...I was doing a search on ICE03 and came across this. For those that end up here doing a search... To figure out the shortpath name of a directory, open a command prompt (Start->Run... and type in 'cmd' and hit 'OK') and do a 'dir /X' on a directory that contains a subdirectory with your longpath name. For example, in my instance to resolve this error, I had a DefaultDir in the Directory Table as: v6.10.0 I created this directory in Windows Explorer, then used the command console and the 'dir /X' command to see that it is represented in short format as: V610~1.0 Which removed that error. 🙂
... View more
Jun 14, 2005
11:59 AM
Any update on doing this? I have an install package built with Developer 8.1 with a setup.exe that I need to convert to .msi as our network guy is wanting to install it via Active Directory blah, blah so he can push it to all the relevant machines and do less work. 😉 I'm wondering if you solved your problem, or anyone else has advice?
... View more
Latest posts by 1Gunn1
Subject | Views | Posted |
---|---|---|
441 | Feb 25, 2020 09:28 AM | |
748 | Aug 21, 2019 03:13 PM | |
775 | Aug 15, 2019 11:11 AM | |
790 | Aug 15, 2019 08:41 AM | |
1640 | Nov 30, 2017 09:00 AM | |
660 | Dec 10, 2013 07:26 AM | |
912 | Jun 02, 2010 07:36 AM | |
1942 | Jun 02, 2010 07:16 AM | |
5705 | Jun 01, 2010 04:22 PM | |
598 | Nov 22, 2006 03:00 PM |
Activity Feed
- Posted Adding system OR current user environment variable like HKEY_USER_SELECTABLE? on InstallShield Forum. Feb 25, 2020 09:28 AM
- Tagged Adding system OR current user environment variable like HKEY_USER_SELECTABLE? on InstallShield Forum. Feb 25, 2020 09:28 AM
- Tagged Adding system OR current user environment variable like HKEY_USER_SELECTABLE? on InstallShield Forum. Feb 25, 2020 09:28 AM
- Tagged Adding system OR current user environment variable like HKEY_USER_SELECTABLE? on InstallShield Forum. Feb 25, 2020 09:28 AM
- Posted Re: Admin only installs. Possible to create folder and files for users too? on InstallShield Forum. Aug 21, 2019 03:13 PM
- Posted Re: Admin only installs. Possible to create folder and files for users too? on InstallShield Forum. Aug 15, 2019 11:11 AM
- Tagged Admin only installs. Possible to create folder and files for users too? on InstallShield Forum. Aug 15, 2019 08:42 AM
- Posted Admin only installs. Possible to create folder and files for users too? on InstallShield Forum. Aug 15, 2019 08:41 AM
- Tagged Admin only installs. Possible to create folder and files for users too? on InstallShield Forum. Aug 15, 2019 08:41 AM
- Posted Re: After update to Windows 10, InstallShield 2012 Spring and 2015 crashes PC on InstallShield Forum. Nov 30, 2017 09:00 AM
- Posted Re: Why folders won't uninstall and explaining the HKLM\...\Installer\Folders registry on InstallShield Forum. Dec 10, 2013 07:26 AM
- Posted Re: In Minor Upgrade, Dynamic File Linking: removing a file on InstallShield Forum. Jun 02, 2010 07:36 AM
- Posted Submitting bugs and feature requests on InstallShield Forum. Jun 02, 2010 07:16 AM
- Posted Why folders won't uninstall and explaining the HKLM\...\Installer\Folders registry on InstallShield Forum. Jun 01, 2010 04:22 PM
- Posted Re: ICE03 invalid defaultdir string on AdminStudio Forum. Nov 22, 2006 03:00 PM
- Posted Re: Using the repackager to convert setup.exe to an msi on AdminStudio Forum. Jun 14, 2005 11:59 AM
Contact Me
Online Status |
Offline
|
Date Last Visited |
Dec 15, 2020
10:51 AM
|