May 13, 2014
07:44 AM
The relinking issue I believe stems from using mapped drives. With Win7 there is an issue that the mapped drives don't connect immediately at startup due to network connection and Windows reports an error. I think it has something to do with that and how InstallShield tries to access the path. The past few releases this has stopped since using the absolute path and restarting the VM multiple times. The double UI issue may also stem from using a mapped drive path rather than the absolute path also but I'm not sure. I'm debating to test this theory...
... View more
May 07, 2014
02:40 PM
I have IS2013 SP1 installed on a VM (Win7 Professional x86) which is connecting to our network through my host connection. Our Verisign file is located on the network as multiple projects use this file. Normally, about 9 out of 10 ten times, I shutdown my VM so that when I go to build it's a fresh session. I dislike suspending the VM as I've had it corrupt an image before, long story. Everytime I go to do a batch build I get the "Parameter is incorrect" error and none of my files are signed. Originally the link to the Verisign file was a mapped drive. I changed it to the actual network address and I still get "Parameter is incorrect". I literally have to relink them, as I have 3 releases I have to relink 3 times, and select the absolute path options and magically it finds the file. General Annoyance #1: When I go to relink the "Digital Certificae File" with the actual path I must do this twice. I select the browse icon double-click on the *.pfx file and select OK. I then select the last option, absolute path, and select OK. I then am prompted with the File Select dialog where I need to select the *.pfx file again. I then select the last option, absolute path, and select OK. General Annoyance #2: I must go through General Annoyance #1 for each release within a project. I must do this for every project. Coming from Suspend mode, Snapshot with VM powered on or off, and coming from general startup (using current image). Granted this takes a few minutes but this bug is more than annoying since I must do it EVERYTIME FOR EVERY PROJECT AND EVERY RELEASE WITHIN A PROJECT. I cannot be the only one experiencing this but I'm not sure if it's a VMWare-only issue or if others are having it on their host systems.
... View more
Labels
- Labels:
-
InstallShield 2013
Feb 24, 2014
08:00 AM
That's basically what I did. The "RegFile" flag in RegAsm creates a RegFile that I imported into IS and then connected the appropriate registry set to the appropriate component (just installs all the info directly into the GAC). I'm not a fan of this at all and would rather my files be registered at install-time like it was doing in IS2010 that it's not doing in IS2013. I wouldn't mind had the info extracted at build-time or when the component is added to the project but I don't have those options. We want to move to MSI but since I wear the title of Dev and Release I don't have extra time to sit and learn and then convert... want to and may do so in the near future but right now not an option 😕
... View more
Feb 24, 2014
07:46 AM
Apologies I should have said originally I'm using pure InstallScript so I don't have that option. I used the "/RegFile" option in RegAsm and added that to the component. I do not like this solution, as it feels like a hack, but it works. I didn't have this issue in 2010 with this project nor this particular component. Installation and registeration completed without any issues on both x86 and x64. I only had one componenet that needed the regfile created and I don't remember why, but seemingly it's probably the same issue. Like I said the .Net tab in the Options has the x64 location disabled and honestly I think there's a link. We should be able to build a x64 installation on a x86 OS, been doing it for quite a while now. But thank you for repsonding, if you have any more ideas I'm ready to try them out 🙂
... View more
Feb 21, 2014
10:57 AM
Upgraded our installer from 2010 to 2013... pure Installscript project Everything on x86 works perfectly with almost no changes. No issues that I am away of. When installing on a x64 OS our two .NET DLLs are not being registered (via regasm.exe). If we manually register them everything works perferctly just like on a x86 OS. Installshield is running on a x86 Win7 VM. I noticed that in the .NET tab there are two textboxes for the location of RegAsm & InstallUtilLib. The x64 location is disabled. I'm wondering if this is part of the issue? Everything works as expected on a 32-bit OS with no changes but does needs to be manually registered on a 64-bit OS. I should say that the same files are installed on a x86 and x64 and that the component this is set to is "Sefl-Register" and "Local Assembly" and "Dependencies".
... View more
Labels
- Labels:
-
InstallShield 2013
Feb 12, 2014
10:45 AM
IlkkaV wrote: No, not really. With over 15 languages to support, an ifdef mess becomes unmaintainable before it's even fully implemented, not to mention issues with different character sets etc. Understandable. We use some automation for maintaining our translations within our application which uses #Defines, so I was hoping it could help but totally understandable. IlkkaV wrote: Well we're already using the top tier version as we need the localization support. The workaround has been working fine from late 2010 up to now, so to me it looks like InstallShield 2013 has introduced a regression in that area. Have you opened a ticket with Flexera? Sounds like they need to issue a fix then.
... View more
Feb 12, 2014
10:20 AM
Custom Action-> Create a YesNo dialog and on YES DeleteFile( FullFilePath ) nad handle if error. Open the Help file and search for DeleteFile and there's an example of how to use it.
... View more
Feb 12, 2014
10:17 AM
Are you unable to use the Prerequisites section? This runs in teh beginning and you can force the user to have it installed before running the rest of your installer...
... View more
Feb 12, 2014
10:07 AM
Can you not use a #Define for the language string and #if...#ifelse...#endif for selecting the language. Might be easier than using the string table or a custom action. Could just include a translator application or code in the script so that it switches to the correct language strings via Switch case or some such thing. It makes sense that your workaround is broken since Flexera sells a version of InstallShield that is for different languages. I know our version supports only 1 string table and the next license up supports multiple.
... View more
Feb 12, 2014
09:59 AM
So I've sort of figured out a workaround... and sort encountered another problem. Part of the issue is that I was using FeatureSelectNew( MEDIA, TRUE ) which only selects new features in the current running installer and then FeatureReinstall() which only plants the files from those already installed features to the system. This is why I had both the old deleted files and the new ones in the same installed directory. Removed that and figured out that I need to unselect those already installed features in order to remove those installed files and place in the new ones. I already had a method that came from bastardizing the OnMoveData() method into only uninstalling and handles nothing else. This is mostly so I could support installation logic in the spec... not a great idea but I needed it that way in order to bypass a few things... So I ended up with this more or less: //--- Uninstall current version (if failed then abort installation) if (!PerformActualUninstall()) then abort; endif; //--- Select all current feature FeatureSetupTypeSet(MEDIA, "Complete"); //--- Set up OS specific features if(!PrepareInstallation()) then MessageBox(@IDS_ERROR_PREPARE_INSTALLATION_MSG, SEVERE); abort; endif; So now my problem is that when I can FeatureRemoveAllInLogOnly() and then FeatureTransferData(MEDIA) it completely uninstalls the application even though I later call FeatureSetupTypeSet(MEDIA, "Complete") and then FeatureTransferData(MEDIA) again. By completely uninstall I mean that when I go to uninstall via Add/Remove, it gives me the error stating that it was already uninstalled. ANY HELP IS APPRECIATED...
... View more
Feb 12, 2014
08:56 AM
If OnMaintUIBefore() isn't being called then what is? It may have to do with the uninstall string... when your user selects your application from Add/Remove what do you want to happen? Uninstallation or the Welcome Maintenance menu? When you select either "Change" or "Remove" a flag is sent to the installer package so maybe since you have both of those options switched off it's not going to where it needs to go? Hard to say without know where it's going currently.
... View more
Feb 10, 2014
04:07 PM
So the Devs removed some files and then added new ones, not named the same, and it was completely out of my hands... This is the code for trying to update the current installation: function OnMoveData() . . . begin . . . //--- If we are updating... elseif (DetermineIfUpgrade()) then //--- Set the installation directory to the %ALLUSERSPROFILE% TARGETDIR = GetCurrentTargetDirectory(); //--- Make sure to select any NEW features FeatureSelectNew( MEDIA, TRUE ); FeatureReinstall(); //--- Set appropriate StatusEx static text. Sprintf(sFormattedMsg, @IDS_STATICTEXT_MAINTUI_UPGRADE, @IDS_READABLE_VERSION_STRING); SetStatusExStaticText(sFormattedMsg); . . . end The Devs want to use the Component directory (dir that is dynamically linked to a Component) as a dumping ground for all current files. The code above allows me to get the new files installed but the old ones are still present and I need the gone. Originally I used FeatureSetupTypeSet(MEDIA, "Complete") followed by FeatureRemoveAllInLogOnly() which basically uninstalls the current installation instead of just remove the files that were installed previously, so that the new ones can be installed. So all in all I have to be able to remove the old files within the Component/Feature and install the new ones from the running installer, always in every case. Assume Deleted file names: OldFile_01 Assume New file names: NewFile_01 Assume Feature name: Feature_01 Assume Component name: Comp_01 OldFile_01 is present in v1.1 NewFile_01 is not present in v1.1 NewFile_01 is present in v1.2 OldFile_01 is not present in v1.2 v1.1 is installed on the system and they want to upgrade to v1.2 OldFile_01 and NewFile_01 are in the same Feature/Component which pulls from the same directory (OldFile was deleted from said dir and NewFIle was added to the said dir) When user upgrades OldFile_01 needs to be removed from the system and NewFile added, dynamically*. When user reverts NewFile_01 needs to be removed from the system and OldFile_01 added, dynamically*. *By "dynamically" I mean that the installer has NO knowledge of the change made pre-build... tl;drThe Feature in questions contains only 1 Component that holds a large number of config files (sort of). I need to remove all files that are not present in the currently running installer and make sure to add any new files present in that running installer.
... View more
Labels
- Labels:
-
InstallShield 2013
Nov 25, 2013
10:14 AM
I read awhile back in an older InstallShield section that when installing (first-time) that the "CreateInstallationInfo()" method is the reason where there is a lag during install. When the Progress Dialog appears there's a pause before anything happens on that dialog and it's due to that method mentioned. For whatever reason the amount of time it takes varies... I'm not sure why. But if you Google "CreateInstallationInfo()" you should be able to find more info about it.
... View more
Nov 25, 2013
10:09 AM
Roman1 wrote: Is it possible to set them to different values: 1.1.1.1 and 2.0.0.1 ? You should be able to set this in your source's IDE like Visual Studio. When your project is open try looking for "Project Settings" or "Properties" and there should be a section for adding, and updating the file version. Depending on your IDE you may be able to create a script that will update it when you go to build the installer. We don't update the file versions so I don't know much about trying to hook in the build to update it...
... View more
Nov 09, 2012
08:49 AM
Have you given up or found a solution? The other projects I work on can benefit from this if there's a way.
... View more
Latest posts by DemonPiggies
Subject | Views | Posted |
---|---|---|
760 | May 13, 2014 07:44 AM | |
1432 | May 07, 2014 02:40 PM | |
1092 | Feb 24, 2014 08:00 AM | |
1092 | Feb 24, 2014 07:46 AM | |
3837 | Feb 21, 2014 10:57 AM | |
965 | Feb 12, 2014 10:45 AM | |
561 | Feb 12, 2014 10:20 AM | |
608 | Feb 12, 2014 10:17 AM | |
965 | Feb 12, 2014 10:07 AM | |
592 | 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