May 20, 2010
11:00 AM
So I've basically ruled out the order thing since I've made the DLLs and OCX files the first to be installed and presumably the first uninstalled (these files do not need to be registered/unregisterd in a specific order and I have verified this with the my development team). The files appear to have been removed before the unregister takes place unless the errors are hidden until the removal process is complete but this seems far fetched. Does UninstallShield wait until the files are removed BEFORE unregistering them? Or am I missing something here or it this a setting somewhere?
... View more
May 20, 2010
10:26 AM
"Enable(LOGGING)"? The log is only disabled in two places and one deals with a registry setting and the other is a settings file we leave. Reading the log file would be a good idea except truthfully I do not know where the log file resides after installation... EDIT: To clarify the log files I am talking about are the ones that are created during the installation of the installer on a user's system not the ones generated while creating the installer...
... View more
May 19, 2010
05:11 PM
So I may have missed this somewhere in the help file but in what order do the features get removed and unregistered? Because of some unknown artifacts left in the *.ism file when I updated the project from IS6 to IS2010, I have taken it upon myself to start from scratch and build a new installation project. The components are in a similar order as the original but I receive an error about "... did not self-register or unregister... Specific module cannot be found..." Now I've read (on other posts) that the features are supposed to be removed in the order they are installed and that the files that get unregistered are queued up until the end of the feature removal. Is this true? But I have watched the uninstall and have seen that the last major feature (there are sub features within that main feature) is removed first instead of being removed last. I then moved the feature throwing the error to the bottom of the feature list and still the same happens. Am I missing something? (I understand that some of this may have to do with the order but at this point I don't think it is...)
... View more
Labels
- Labels:
-
InstallShield 2010
Feb 08, 2010
11:06 AM
No it's more for scripting the repair procedure. I don't want to fix environmental issue as we've seen with this issue. More like a brute force fix...
... View more
Feb 08, 2010
08:00 AM
But would that fix the issue? Would the fact that a bad .NET install might/would cause larger issues throughout the entire application? I mean that is a work around that I most likely will enter into the install as a precaution... Is there a way to create a regfile for normal dlls that do not use .NET? and is there a chance the CLISIDs would be duplicated? Because the regfile would be a good way to make a repair script in case the user has issues with the registration.
... View more
Feb 05, 2010
02:15 PM
Not that it matters... The issue was due to a bad .NET install on the client's machine. The messed up install screwed up registration (with RegAsm). This screw up cause our application to crash whenever the .NET dll was called. The reason our older .NET application worked fine (I know I didn't add that to the original post) because it must have been registered with the older RegAsm.exe. Chances are is that .NET install only worked for older .NET applications meaning the newer version that executes newer .NET code was bad... So the fix was to have the client reinstall .NET (3.5 SP1).
... View more
Feb 04, 2010
03:59 PM
We added a new .Net dll. We already added interop assemblies from unmanaged code to managed code. This is the opposite, managed code to unmanaged code. This is an InstallScript project. Under options I've already set the RegAsm.exe path and set the default to Properties and Dependencies. The component's (to which it had it's own component) .NET Settings is set to "Local" and "Dependencies". The problem is that this new component installs CORRECTLY on everyone else's system except one (this one is used to write manuals and is a clean machine). We found out that the dll is not being registered (via RegAsm). We have a sneaking suspicion that their .NET installation is messed up. We tested this by using another person's version of RegAsm.exe (yes we are using v2....). The dll is not being registered. Are there any way to verify that this is being registered (meaning is there a way to find out if it is using the correct RegAsm and/or it's returning an error)?
... View more
Labels
- Labels:
-
InstallShield 2010
Oct 08, 2009
03:48 PM
This might be a dumb question: Can you use a constant string in the 'Single Exe File Name'? I added some strings to the string table (ex: PRODUCT_VERSION_DEMO, ..._FULL) with the intent to replace the hard coded values in Release's 'Single Exe File Name'. From: "SomeProductFullv2.0.exe" to "##PRODUCT_VERSION_DEMO##.exe" Mainly I wanted to be able to change the version number in one place NOT four times in four different places. When I did this (see shot below) it literally created ##PRODUCT_VERSION##.exe. I used "##" because I had to use those to use the new string in the Here's a quick shot of what I want to do:
... View more
Labels
- Labels:
-
InstallShield 2010
Oct 06, 2009
10:11 AM
Forgive me for this large response. I figure someone out there may need a full answer because Gods know that if someone wrote this before me I would not have had to start this post. Aladdin's response was that there is no flag for a silent removal using HASP SRM Run-time Environment Removal Tool (aksinstdel_windows.exe). But they did give me an undocumented switch for HASP SRM Run-time Command-line Installation (Haspdinst.exe). The switch is "-purge". This command removes the HASP environment and can use the other optional switches for a silent or as close to silent as possible removal. Using "-purge -nomsg" or "-purge -criticalmsg" will work for a silent uninstall. 😄 YAY! This made my day! Thank you everyone for your responses!
... View more
Oct 02, 2009
11:18 AM
I've emailed them the yesterday afternoon and so far no answer. Their other *.exe's had an info/help flag that display a window containing all of their flags. The uninstaller does not have such a tool (I determined this after entering every flag I could think of). I did some online research and the only hits I get is from the HASP site and those only point to the download link. Hopefully I will get an answer from HASP's support team soon. They are known for their speedy support. If it matters this is the link for the HASP SRM Run-time Environment Removal Tool that I'm using. Doubtless someone else's use this too and run into a similar issue... Unless I am "a beautiful and unique snowflake" (Chuck Palahniuk, Fight Club).
... View more
Oct 02, 2009
09:11 AM
Christopher Painter wrote: Have you tried creating a text file that contains the Y character and then piping it into the cmd? foo.exe < answerfile.txt This was one of the first things that I found. Yet it did not work. I am unsure as to why but I tried for nearly an hour trying to get it to work. Oddly enough in the VBScript it needs to sleep for about 1 to 3 seconds before simulating the keypress otherwise the *.exe will not register it. DanGalender wrote: I haven't used it, but I hear there's a freely available program called AutoIt that can help automate applications by simulating the pressing of buttons. You might want to check that out to see if you can use that meets your needs. I thought about that but wouldn't I have to include yet another third-utility to my installer? This seemed a little overkill.
... View more
Oct 01, 2009
11:32 AM
Personally I did not want to bother them again. There site is a little odd to navigate. I have to open a ticket every time I ask a question and since I'm new to the whole process I did not want to ruin my co.'s reputation with the other by bugging them about everything (I'm weary of having to physically call/talk to someone rather then thru email). I've been researching all morning and I found out how to simulate key presses and execute the uninstaller by using a VBScript. I'm trying now to see how to get it to execute w/o the DOS window appearing. I'm going to email the company soon but I have a feeling they do not and this will be taken as a suggestion rather than a request.
... View more
Sep 30, 2009
05:12 PM
I am trying to uninstall the HASP Run-Time Environment. Just to give some background here: we use the cmdline executable (haspdinst.exe). During removal/uninstallation we use to run haspdinst with the remove flag ("-r"). [For some reason] This did not fully remove the environment. After a support call we were given an executable that would fully remove HASP from a user's system (aksinstdel_windows.exe). So when you run this either by cmdline (like we have been doing) or by double-clicking a HUGE dos window appears and asks the user (this would be the second time, since I've already implemented a Yes/No dialog to do just this) to press 'Y' to remove HASP. I cannot find a flag that will allow this to run silently but I would like it to more or less run in the background w/o user interference. My question is thus: is there a way to emulate/fake a keypress of 'Y' when I execute this? I tried to research custom actions but 2010 does not have that option for this project. This project was updated from 11 to 2010 so I do not know if I missed something during it's conversion and I'm at a loss. I do not believe my users want to be asked twice to uninstall an unimportant component (Even though they are removing my product... *grumble*... maybe they are upgrading... or maybe they are giving their older machine to charity... something like that right?). I'm new to this so forgive me if this is a dumb question. Any and all help will be GREATLY appreciated.
... View more
Labels
- Labels:
-
InstallShield 2010
Sep 29, 2009
09:24 AM
So if anyway for prosperity I figured I would share me find with the world: After some more digging I found that there are certain files that in Vista are completely locked (meaning that they are cannot be overwritten). The product I work on included these DLLs because it used to support older versions of Windows. In the case of 3D control "CTL3D32.DLL" you CANNOT overwrite this file even in administrator mode. There are perhaps ways of getting around this but this is unnecessary since these DLLs have not changed since 98se (the versions shown in the properties menu remain the same). I came upon a very good explanation Here. So now I'm stuck at how to NOT install these files for a Vista (or Windows 7) box but allow them to be registered for older windows. Is there an easy solution that I may have overlooked?
... View more
- « Previous
- Next »
Latest posts by DemonPiggies
Subject | Views | Posted |
---|---|---|
760 | May 13, 2014 07:44 AM | |
1432 | May 07, 2014 02:40 PM | |
1093 | Feb 24, 2014 08:00 AM | |
1093 | Feb 24, 2014 07:46 AM | |
3838 | Feb 21, 2014 10:57 AM | |
966 | Feb 12, 2014 10:45 AM | |
561 | Feb 12, 2014 10:20 AM | |
608 | Feb 12, 2014 10:17 AM | |
966 | Feb 12, 2014 10:07 AM | |
593 | Feb 12, 2014 09:59 AM |
Activity Feed
- Got a Kudo for Re: Editing InstallScript files in Notepad++. Jun 22, 2022 10:23 AM
- Got a Kudo for Re: Editing InstallScript files in Notepad++. Jun 22, 2022 09:33 AM
- Posted Re: Signing Issue on InstallShield Forum. May 13, 2014 07:44 AM
- Posted Signing Issue on InstallShield Forum. May 07, 2014 02:40 PM
- Posted Re: [BUG?] Registering x86 .NET DLLs on a x64 machine on InstallShield Forum. Feb 24, 2014 08:00 AM
- Posted Re: [BUG?] Registering x86 .NET DLLs on a x64 machine on InstallShield Forum. Feb 24, 2014 07:46 AM
- Posted [BUG?] Registering x86 .NET DLLs on a x64 machine on InstallShield Forum. Feb 21, 2014 10:57 AM
- Posted Re: Is it possible to define a language transform for LoadStringFromStringTable? on InstallShield Forum. Feb 12, 2014 10:45 AM
- Posted Re: Customize uninstall of software on InstallShield Forum. Feb 12, 2014 10:20 AM
- Posted Re: Or Installation conditions on InstallShield Forum. Feb 12, 2014 10:17 AM
- Posted Re: Is it possible to define a language transform for LoadStringFromStringTable? on InstallShield Forum. Feb 12, 2014 10:07 AM
- Posted Re: InstallScript - Devs added/removed file from Component Directory... on InstallShield Forum. Feb 12, 2014 09:59 AM
- Posted Re: upgrade to 2013 can't uninstall from add remove program of control panel on InstallShield Forum. Feb 12, 2014 08:56 AM
- Posted InstallScript - Devs added/removed file from Component Directory... on InstallShield Forum. Feb 10, 2014 04:07 PM
- Posted Re: Installation too slow on some PC's on InstallShield Forum. Nov 25, 2013 10:14 AM
- Posted Re: Setup.exe: Product Version, File Version on InstallShield Forum. Nov 25, 2013 10:09 AM
- Posted Re: Installscript exit code on InstallShield Forum. Nov 09, 2012 08:49 AM
- Posted Re: Run complete installation every time on InstallShield Forum. Nov 09, 2012 08:32 AM
- Posted Re: Retrieving string value from Preprocessor Defines on InstallShield Forum. Nov 02, 2012 04:09 PM
- Posted Retrieving string value from Preprocessor Defines on InstallShield Forum. Nov 02, 2012 02:26 PM