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
Dec 27, 2010
03:16 PM
Is there a tool, scraper or feature that can output (to a file of some sort) every file/component/feature and their intended path? I've built an installation verification app that checks to see if all files and settings have been installed properly. Whenever I add something to the installation I have to add it manually to my little application. I'm looking for something that can run through my installation project and output each filename (preferably with each component and/or feature) and it's intended install path. I'll even settle for just the feature/component and the filename if the path is irretrievable. My project is set to save a XML but I really don't have the patience to build a scraper to go through it...
... View more
Labels
- Labels:
-
InstallShield 2010
Dec 21, 2010
08:45 AM
True but that would launch the app before setup was complete. In my application I ask if they want to launch the app in the Finish dialog and then in OnEnd() I check to see if they chose to or not and launch it if they chose to.
... View more
Dec 15, 2010
01:54 PM
Currently I'm using 'AddFontResource' and manually installing fonts to the registry. For whatever reason one of the fonts is now not printing. This may have to do with the embedding restrictions and we are looking into this but that aside what are we actually supposed to use in order to properly install a font on a user's system. In our old installer which was converted up from InstallShield 6 (which I later learned you can't really do because certain features that weren't in 6 and would be missing in the up-conversion...) these fonts printed correctly in XP, Vista, and Win7. Now after building the installer from the ground up in 2010, this font will NOT print at all. If we change the font to ANYTHING else it will print. This is a sample of my code: function RegisterFonts() . . . begin //--- Initialize KEY szKey ="SOFTWARE\\MICROSOFT\\WINDOWS"; //--- Determine Operating System GetSystemInfo ( OS , nResult , svResult ); if(nResult = IS_WINDOWSNT) then szKey = szKey+" NT"; endif; szKey = szKey+"\\CURRENTVERSION\\FONTS"; RegDBSetDefaultRoot ( HKEY_LOCAL_MACHINE ); //--- Make Registry entries //--- SampleFont.TTF RegDBSetKeyValueEx(szKey,"Sample FOnt (TrueType)", REGDB_STRING, "SampleFont.TTF",-1); //--- Add these fonts to the system font table szFontName = SampleFont.TTF; nResult = RemoveFontResourceA(szFontName); nResult = AddFontResourceA(szFontName) end; Searching the interwebs I found 'RegisterFontResource' and 'RemoveFontResource'. Are we now supposed to be using those methods or is my current code above still 100% valid here? Or is there some other way to correctly install (again using InstallScript so MSI options won't work here)? I'm going to test these other methods to see what happens but it won't explain the why or how...
... View more
Labels
- Labels:
-
InstallShield 2010
Dec 15, 2010
01:20 PM
So if you include both and let InstallShield register them, you get the error, right? Check your options to see how InstallShield is registering them. Under the Preferences tab there is a section called 'Self-Registration.' You may need to try playing with those settings to see which one works for you. I had a similar issue with my project where non-.Net dlls were erroring out when InstallShield installed them. Originally we had to manually register these files in the script but after finding an explanation online about the 'Self-Registration' tab we pieced it together. Hope that helps abit...
... View more
Dec 15, 2010
01:08 PM
If you are using script to do this you can use the 'LaunchApp' method... /*--- code used in the OnEnd() method ---*/ //--- hh.exe is the microsoft help html file viewer... if (LaunchApp( "hh.exe", strPathToLaunch) < 0) then //--- Pop up error message if unable to launch application MessageBox( @IDS_ERROR_UNABLE_TO_OPEN_HELP_FILE, WARNING); endif; ... figured I'd add that in case someone using InstallScript or using script for a custom action read this post. For a more detailed description see this article.
... View more
Dec 15, 2010
12:00 PM
Currently I only do 'releases' not upgrades but I use the same project and just update the release numbers. There is no real reason to create a new project for each release. You could create an 'update project' and then a 'release project' but I believe somewhere in the 'settings' there is an option that allows your project to update and/or release. I think somewhere in the Help file there is a clearer explanation. I'm not saying 'rtfm' just that there might be a more readable answer there. I know there is an option because I once unwisely used it for my project and screwed everything up. You also use the Overwrite options in the components section...
... View more
Jul 13, 2010
03:19 PM
andy928, What type of project are you using? I'm using InstallScript and with that I unselected both Features (separate features for each file) and only selected them (in code) dependent on user interactions. I used this to determine which formated file the user was given... I can't really help you much if you're using a MSI project...
... 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
May 26, 2010
03:47 PM
Then how would we update system components that need updating? Wait for Microsoft to patch it? I'm just wondering because of the DLLs and OCX's we need are version specific.
... View more
May 26, 2010
07:45 AM
Yeah I've looked through the Flexara site but I have yet to find a step by step guide to build a (all be it generic) release. The help file is useful if you already mostly know what you are doing. Unfortunately I agree with rittjc about there not being enough information in the forum and/or the help file (I agree with the argument but not the whole lazy American rant because that's just rude). Anyway if there is a tutorial on there please send me the link I would be most grateful since I still have questions about my current release project.
... View more
May 25, 2010
01:50 PM
I was wondering this too but the help file says: Only one splash screen is displayed to the end user during the installation. If you have more than one splash screen file in the language-independent area or for a specific language, the first file in the list is displayed at run time. I have a three differential releases and two require the same screen. The only real workaround is to add a file with a generic file name (e.i. "Setup.bmp") and rename the bitmap you need per release. Essentially using the same file but changing the actual graphic. 😞 not elegant but it works well. I even made a batch file to do this. You could create a exe to switch them when you make the installers in a specific sequence. I think that might be my next enhancement to my project.
... View more
May 25, 2010
01:29 PM
Not that I'm aware of. The included help file has a lot of information and there are tute.'s in there. Also http://www.installsite.org/ is a very good resource... If you find one let me know!
... View more
May 25, 2010
08:44 AM
Short answer is no. Found out the hard way that you cannot use a string (from the string table or path table) for use in naming the physical *.exe Thank you everyone for your responses...
... View more
May 25, 2010
08:37 AM
Though at this point there is no reason for me to do this but: I moved the XP only DLLs to their own component and used the options on the features to only install on certain OSs... Thought the issue was more the "Why suddenly is this happening on 2010 and not IS6?"
... 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 | |
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 | |
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