Sep 29, 2014
10:49 AM
I managed to solve the problem by using dynamic file linking. I.e. I deleted the components (project documentation output) pointing to the XML files and added one component that uses dynamic file linking. I then specified which files to include (the XML files) and I was able build my project without problems. I hope this won't come back and bite me in the ***embly in the future. It's been nothing but problems since day one with InstallShield... I hope someone struggling with this same issue will find my resolution useful.
... View more
Sep 29, 2014
07:17 AM
Johannes John wrote: Hello ppsmxion, I've currently not read the limitations of the Evaluation Version. How large is that XML file. Do you allready have tried a small XML file? Regards Johannes XML file size is 1.52 MB. I was forced to purchase the Pro version so that I have tools to release versions to customers but I still get this same error. I left the xml files out so that I could build an installer but naturally I've started to get complaints about missing class descriptions etc... I haven't tried with smaller files. Are you saying that there are file size limits for xml files?
... View more
Sep 15, 2014
03:30 AM
Flexera has confirmed that this is a bug in InstallShield 2014 so problem "kinda" solved. Just waiting for the bug fix...
... View more
Sep 08, 2014
08:21 AM
I’m making a major upgrade. I have changed the product code but left upgrade code untouched. When I try to install the new installer on previous version (which is already installed on the target machine) the previous version is left in Windows’ Programs and Features list (i.e. “Add remove programs”). The only difference is that it has no icon. Well, it has an icon (default icon) but the original custom made icon is gone. The new installer seems to uninstall the previous version since I see messages like “Uninstalling previous version” and “Removing shortcuts” during installation of the new version. Shortcuts disappear and I see files being deleted so the new version detects the older version. I have configured an upgrade path so that all previous versions are major upgraded (i.e. uninstalled before installing the newest version). Before InstallShield I used Visual Studio’s Setup project and the product version of my product is 6.0.x for Visual Studio Setup projects. They are major upgraded without any problems (e.g. 6.0.5 is upgraded to 6.1.0). The first InstallShield based version is 6.1.0. I'm trying to delete the related registry key (i.e. so that the previous version disappears from "Programs and Features" list) using a InstallScript custom action but RegDBDeleteKey fails. FormatMessage provides an empty string on RegDBDeleteKey return value. This isn't the best solution since previous version's install files (C:\Program Files x86\InstallShield Installation Information folder) stay on the target system as "garbage". Does anyone have any ideas what might be causing this? I've seen people complain about the same problem even back in 2008. I hope this isn't the same problem/bug in InstallShield 2014...
... View more
Labels
- Labels:
-
InstallShield 2014
Aug 16, 2014
07:34 AM
I got it working using scripts. I.e. I check the state of each feature and send the states to my custom action using custom action of type 51 and CustomActionData. No need for specifying additional custom action conditions because I do all necessary checking in my custom action method. Don't know if this is a bug or conditions are not fully supported in installscript project or I just don't know how to use them. At least, it works this way.
... View more
Aug 16, 2014
03:53 AM
I'm trying to install my toolbox controls and related help content to Visual Studio using InstallShield feature and custom action. If controls and/or help feature is selected during the first install, it will trigger a custom action that does the necessary work to install the features. The first install goes like it should: controls and/or help is installed if they are selected. But when I do a maintenance install (i.e. "Modify" or "Change") and uninstall one or both, the related custom action is not triggered. The check boxes are unchecked the next time I run the maintenance install so they are updated but toolbox controls / help are still on the target machine. The next time when I check the boxes again the feature custom action won't trigger either. Check boxes are update correctly though but they are not naturally "bound together" with my custom actions. I have added REMOVE="ALL" to make sure that everything is uninstalled on uninstall but for some reason my custom action won't get triggered during maintenance install even though I have typed a correct condition for removing a feature (I think). I've battled with this for a couple of days and googled hours for more information but nothing seems to work (i.e. tried different custom action conditions and places in the sequence). What am I doing wrong? Do I need to handle maintenance mode separately in the custom action condition? Here's a screen capture from the custom actions and sequences page:
... View more
Labels
- Labels:
-
InstallShield 2014
Jun 03, 2014
05:42 AM
I get an error message -1501: Coult not compress into Data1.cab The is an XML documentation file for one of my assemblies. I.t. the file that is generated by Visual Studio if you check the corresponding check box in project settings. Why it cannot be compressed to the cab file??? I can bypass this problem by removing the XML files. I have multiple assemblies that have XML documentation and they all fail when building the installer. However, this isn't acceptable since our customers need the XML documentation files. The error description says that this happens if using compressed build. Well, it's hard for me to create uncompressed build since IS trial version only creates a compressed setup.exe. What's up with that? If you want people not to get their hands on the .msi file then this is a poor way to handle it. Firstly, potential customers have to deal with this kind of **** and secondly you can always get the .msi file either just before setup.exe is generated or when .msi file is extracted when you run setup.exe. Is this stupid limitation removed if we purchase IS Professional license and will XML documentation files be added to Data1.cab file correctly? It's getting more annoying each day to evaluate this... :mad:
... View more
Labels
- Labels:
-
InstallShield 2014
Jun 02, 2014
09:28 AM
Just tried the "Dynamic File Linking" feature and this is probably designed for filtering files since it has a filtering option. However, you cannot apply this directly to source output item because it will create duplicates. I.e. if I add source output item and then add dynamic file linking to it with excluded files, it still adds the files originally in source output item. On the other hand, I can create my own components that include certain files (i.e. *.cs etc.) but then I lose the idea of the source output which automatically includes other files (resource files etc.) too. This is a very laborious way to handle this whole thing. It would be great if you could apply this dynamic file linking to source output item and it would filter the excluded files I define. Even better would be if source output item would automatically contain a dynamic file linking object (containing all source related files) which you can edit - and exclude/include files you want. InstallShield has many great features and that's why we have switched to using it instead of that crappy Visual Studio's setup project. However, lag of easy filtering makes VS's setup project superior in this case. I hope you Flexera guys will implement this "easy filtering" too. It would make many people's life easier - at least mine... ppsmxion wrote: How can I filter certain files when I add source output to my IS project (Files and Folders)? Let's say I want all my .cs (C# files) files in the installer but don't want .csproj (C# project file) file. I have just switched from Visual Studio's (2010) Setup project to InstallShield and I'm trying to create an identical installer. I just can't find a way to filter files like in Visual Studio's Setup project where you just right-clicked source output item and applied an "ExcludeFilter" (where you define using wildcards which files you want to filter out).
... View more
Jun 02, 2014
08:05 AM
How can I filter certain files when I add source output to my IS project (Files and Folders)? Let's say I want all my .cs (C# files) files in the installer but don't want .csproj (C# project file) file. I have just switched from Visual Studio's (2010) Setup project to InstallShield and I'm trying to create an identical installer. I just can't find a way to filter files like in Visual Studio's Setup project where you just right-clicked source output item and applied an "ExcludeFilter" (where you define using wildcards which files you want to filter out).
... View more
Labels
- Labels:
-
InstallShield 2014
Latest posts by ppsmxion
Subject | Views | Posted |
---|---|---|
1729 | Sep 29, 2014 10:49 AM | |
1729 | Sep 29, 2014 07:17 AM | |
1197 | Sep 15, 2014 03:30 AM | |
2731 | Sep 08, 2014 08:21 AM | |
804 | Aug 16, 2014 07:34 AM | |
1454 | Aug 16, 2014 03:53 AM | |
4009 | Jun 03, 2014 05:42 AM | |
1057 | Jun 02, 2014 09:28 AM | |
2375 | Jun 02, 2014 08:05 AM |
Activity Feed
- Posted Re: Could not compress... on InstallShield Forum. Sep 29, 2014 10:49 AM
- Posted Re: Could not compress... on InstallShield Forum. Sep 29, 2014 07:17 AM
- Posted Re: Major upgrade leaves old version in add/remove list on InstallShield Forum. Sep 15, 2014 03:30 AM
- Posted Major upgrade leaves old version in add/remove list on InstallShield Forum. Sep 08, 2014 08:21 AM
- Posted Re: Feature and custom action on InstallShield Forum. Aug 16, 2014 07:34 AM
- Posted Feature and custom action on InstallShield Forum. Aug 16, 2014 03:53 AM
- Posted Could not compress... on InstallShield Forum. Jun 03, 2014 05:42 AM
- Tagged Could not compress... on InstallShield Forum. Jun 03, 2014 05:42 AM
- Tagged Could not compress... on InstallShield Forum. Jun 03, 2014 05:42 AM
- Tagged Could not compress... on InstallShield Forum. Jun 03, 2014 05:42 AM
- Tagged Could not compress... on InstallShield Forum. Jun 03, 2014 05:42 AM
- Tagged Could not compress... on InstallShield Forum. Jun 03, 2014 05:42 AM
- Posted Re: Filter files from source output... on InstallShield Forum. Jun 02, 2014 09:28 AM
- Posted Filter files from source output... on InstallShield Forum. Jun 02, 2014 08:05 AM
- Tagged Filter files from source output... on InstallShield Forum. Jun 02, 2014 08:05 AM
- Tagged Filter files from source output... on InstallShield Forum. Jun 02, 2014 08:05 AM
- Tagged Filter files from source output... on InstallShield Forum. Jun 02, 2014 08:05 AM
- Tagged Filter files from source output... on InstallShield Forum. Jun 02, 2014 08:05 AM
- Tagged Filter files from source output... on InstallShield Forum. Jun 02, 2014 08:05 AM