Jun 22, 2022
10:25 AM
Surprisingly, this does not exist on github or I couldn't find it anywhere else by google either. Can you upload it on github? Or I can do that so it can easily be found and updated too.
... View more
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
Feb 24, 2014
10:44 AM
I would think a little build automation could call regasm /refile, scrape and transform the data then use the IS Automation Interface to emit it into the project before building. I don't know that I'd spend the $ on that though. As for conversion, I just might know an affordable part time / remote resource to assist with that project. :cool:
... 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
Nov 02, 2012
05:15 PM
DP, Hmm, just curious, since your automation would have to edit the contents of that tab anyway, so thought it might be able to write the value to a text file instead. If it's pure InstallScript, and passing arguments to setup.exe is an option, you can use the /z switch on the outside, and CMDLINE on the inside. If it's an option to use InstallShield's Automation interface before a build, you might be able to use the ProductVersion property of ISWiProject, or otherwise use ISWiStringEntry to set a string-table entry that the script can read with @SOMETHING_SOMETHING. Robert
... View more
Oct 19, 2012
12:50 PM
So I stumbled upon OnShowUI(). I feel like a god now. Overriding OnShowUI() will give me full control over the installation. Now I do not have to rely on IS to throw these events in order to deal with them. Now I only need to figure out how to determine if this execution is a first-time installation, Add/Remove call to repair or uninstallation or a cmdline Uninstallation... This helps me suppress unwanted dialog and simulate a silent install/uninstall for when embedding this installer within another and still be able to pop-up error messages (as "/s" will suppress ALL dialogs even error messages). I will update soon for prosperity...
... View more
Sep 06, 2012
01:23 PM
From the hlep manual (just found): Error code: -6653 A feature in the setup contains more than 800 components. There is a maximum limit of 1600 components per feature using Windows NT/Windows 2000 and a maximum limit of 800 components per feature using Windows 95 and Windows 98. So there is a limit but I literally have 50 features (never more than 3 deep) and 66 components. So it looks like I'm nowhere near the Feature Limitation. Also found a listing of (un)documented limitations of MSI but I'm not sure if all of these pretain to InstallScript projects too. I've still not found any original threads or postings about this issue. I do not believe this is something isolates nor something I 100% introduced since I built this from the ground up in 2010. Any help, hack, or even someone who has experienced this will greatly help me (or at least not drive me to drink, lol).
... View more
Aug 09, 2012
02:27 AM
If it's an external command there is IA built-in support for that. If you need to connect to some SQL server, be that on the same machine, things get a little more complicated.
... View more
Jan 05, 2011
09:33 AM
Maybe my post wasn't clear and I apologize for that... I want a tool that will output to a file (.txt, .xml, etc) of every file, component, and their intended installation path that I can then parse to determine what files need to be verified within an installation including the new files that I have added to the installation project. I can't really create a patch project on top of our installer. Plus then I would need to output those files to keep my verification application current and relevant.
... View more
Mar 22, 2011
12:04 PM
You are a genius! I took your advice. I created a component containing the .ttf font files to deploy, just as I had before. The Destination property for this component is . Important note to others here, I used the Files and Folders view to drop files into the Windows\Fonts destination. This also creates entries in the Fonts table. Next I created a registry set for the fonts in the component and associated the set with the fonts component. It was simply a matter of creating the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts key and then dragging the correct font entries from the source computer's registry into the Destination computer's registry data for the key. Next I added code for the DefaultFeature_Installed event adapted as follows. //------------------------------------------------------------------------- // The Installed event is sent after the feature DefaultFeature // is installed. //------------------------------------------------------------------------- export prototype DefaultFeature_Installed(); function DefaultFeature_Installed() string szFontName; number nResult; begin szFontName = "SAMPLE.TTF"; nResult = RemoveFontResource(szFontName); nResult = AddFontResource(szFontName); ... Other fonts added the same way ... end; That is all it took! It works in both the 32 and 64 bit installations. Thanks - Richard
... View more
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
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
May 25, 2010
09:38 AM
If nothing else, perhaps you could use the InstallShield automation interface to read property values and then feed them back to ISProductConfig.SetupFileName before building.
... View more
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
May 26, 2010
04:01 PM
Thank you, I appreciate the response. Now I can tell my boss that this wasn't something I did!
... View more
Latest posts by DemonPiggies
Subject | Views | Posted |
---|---|---|
760 | May 13, 2014 07:44 AM | |
1432 | May 07, 2014 02:40 PM | |
1091 | Feb 24, 2014 08:00 AM | |
1091 | Feb 24, 2014 07:46 AM | |
3836 | Feb 21, 2014 10:57 AM | |
965 | Feb 12, 2014 10:45 AM | |
560 | 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