May 13, 2010
10:25 AM
DMorisseau wrote: I have an InstallScript project that I've scripted that calls SdShowMsg a number of times to let the user know about various actions happening during the installation process, such as configuration events, launching third-party setups included with the product, etc. My problem is that when I run my installer in silent mode, I lose these messages and there is no indicator to the user that anything is happening other than the hourglass on the screen and the desktop shortcuts being deployed. Is there a way to get these messages to display in silent mode? Dennis (Originally in InstallShield 12 forum, but cross-posted here as well) You got two options.. 1. Whereever you are calling SdShowMsg, use inbuilt flag if (SilentMode - I think it is available for Installscript projects). 2. Build a wrapper around your installation and call SdShowMsg in the beginning and end. HTH
... View more
Feb 24, 2010
01:56 PM
mrohit wrote: Hi, I have an issue with ROLLBACK action on my installscript project. During the installation flow after moving the data i need to make few registry changes to update a key. If this key doesn't exist i call abort. I have used the keyword "abort" in the installscript. Before calling "abort" an entry is made in Add/Remove panel. During "abort" action there is no ROLLBACK happening and the entry retains in Add/Remove panel and the folders/files aren't removed. Found that OnAbort() handler exists in IS2010. 1. Can this be made use of to be called during invoking "abort" command? 2. How to call the ROLLBACK action to remove the folders/files and the entry from Add/Remove panel. Would like to know if there are any other ways to handle the ROLLBACK action. Thanks in advance. Rohit If your worry/concern is only limited to Add/Remove entry cleanup then you could override OnAbort() event and add code to remove your GUID from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ , you may also have to remove the GUID associated with HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\InstallShield Uninstall Information or HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\InstallShield_ HTH
... View more
Aug 20, 2009
01:11 PM
timelox wrote: I think I had a similar problem along the way of upgrading. Do not remember in which version it was though since I've been upgrading every version since ISPro 6 (and every version produced new bugs...). Anyway, from within the IDE right click on "Setup.rul" and select "New Script File". Call it CustomDialogs.rul or something. In Setup.rul include the new script file right after the ifx header is included. E.g. #include "ifx.h" #include "CustomDialogs.rul" Now copy all the code from your old setupdlg2.rul and paste it into the CustomDialogs.rul file (not directly to the file but from within the IDE). That worked for me. Hi , Thanks for your suggesation.. I would give it a world and get back to you. however it is weird that IDE saves .rul files in some hidden path, I thought ..\src was the "system path" (if you will) for storing all .rul file.. bit confusing and lacks clarity.. Thanks for your help.
... View more
Aug 18, 2009
03:23 PM
Hi All, I am still in the process of evaluating IS 2010 and i am trying to covert my old project (MSI Installscript) written using IS 2009. I have a .rul file called setupdlg2.rul which is included in my setup.rul file now when I converted my MSI Installscript project everything went fine except when i tried to compile, it started generating error like "fatal error F8511: cant open included file", I copied the file under .\script\isrt and my project path folder , still I keep getting the same error.. BTW: I have also trie including FULL PATH. any suggesations? TIA
... View more
Labels
- Labels:
-
InstallShield 2010
Aug 12, 2009
04:56 PM
joshstechnij wrote: The class in the attached sample DLL needs to be marked as ComVisible. Hi, I have the same issue here, though in my case DLL was working fine unless I changed Target Framework to 3.5 sp1 and i started getting this error, now I have revereted it back to .NET 2.0 but i am still getting the same error... I have MSI Installscript project. Any sugessations?
... View more
Jul 30, 2009
03:07 PM
Clue.Clueless wrote: Dan, (it's Dan, right?) First of all, thanks a lot for your reply. I have thought about doing it your way. However, this issue came up because some of our customers expressed the concern about the inconsistency of the "Product Version" (defined in the General Info) and the "File Version" in question. That's why I'm looking for a way to do this. Again, thanks for the reply. IS does not provide RC or Assemblyinfo type of file where you could make these changes, only option you have is to download a reliable resourceeditor open you setup.exe and change the strings are you please.. one of them which i have used sucessfully is http://www.wilsonc.demon.co.uk/d10resourceeditor.htm HTH
... View more
Jul 23, 2009
05:31 PM
xzz0195 wrote: Install script msi project I have done it many many times, its very easy, you would need to do following 1. create a check box on your dialog box thru dialog box editor 2. Note down the control id (normally 4 digits). 3. create a .rul file wid the same name as your dialog box and store in MAIN directory under installshield where other .rul for dialog boxes are stored (or you could import it). 4. Open an existing .rul file e.g sdwelcome.rul. 5. Add a CONSTANT on top of this file say CHECKBOX1 xxxx (control id). 6. you need to have a variable declared to get the status of this check BOX say bCHKSTAT. 7. After DialogInsilize code add a case statement say CASE : Controlid (or some like this). 8. under case statement use GetControl (something like this) to get the current stattus of your checkbox and use SetControl to set the current status of check box in a var. There is have it.. if I were you i would declare a GLOBAL varialble for setting the status so I could accesss the status in my main Setup.rul. HTTH
... View more
Jul 22, 2009
05:02 PM
xzz0195 wrote: Newbie here.... We want a checkbox on initial dialog for install that allows us to log the installation steps. We can easily drag the checkbox onto the form, but can't for the life of us figure out how to get addressability to the check value? In C# it's if(checkbox.Checked). How do we define or find the property that tells us if it's checked? Also do we have to set up an event handler to caputure the check changed event? Or will we have visibility to the value once the NEXT button is pressed on the install? Whats your project type?
... View more
Jul 09, 2009
12:49 PM
Gvarma wrote: Hi There is ProductName property which contains the name of the product name specified in General Information etc. I know i used to be able to MODIFY this property using MSISETPROPERTY on the run time, now it seems the ProductName property is NOT PUBLIC anymore, hence cant be modified??? perhaps there is an alternative to this? Thanks for your help. the IS Prooject type is MSI Installshield. THanks
... View more
Jul 09, 2009
12:39 PM
Hi There is ProductName property which contains the name of the product name specified in General Information etc. I know i used to be able to MODIFY this property using MSISETPROPERTY on the run time, now it seems the ProductName property is NOT PUBLIC anymore, hence cant be modified??? perhaps there is an alternative to this? Thanks for your help.
... View more
Labels
- Labels:
-
InstallShield 2008
Jul 07, 2009
02:20 PM
MattQVI wrote: Currently, I am working on a InstallShield 2008 project that has one or more nested installs called from it. I am trying to develop an Install Exec Condition that lends itself for a fresh install, repair and upgrade. Currently I have: Not Installed OR (REINSTALL><"ALL" AND REMOVE<>"ALL"). This takes care of everything but upgrade. Now I have researched creating patches and upgrades, but not sure how to go about it since the upgrade process revolves around these nested MSI's. Any help is greatly appreciated. Thanks in advance. Matt Matt, if you are using MSI project then you probably get away with it without getting involved with "CONSTANT" condition. Here is what I would do.. 1.I create a Radio button called Update. 2. associate a PROPERTY with it (obvious). 3. I would create a Feature/Component called UpdateApp (or whatevr) and store all update related files under this feature component. 4. component will have PROPERTY as its condition (e.g PROPERTY ="updated"), you can also specify any registry chage etc and associate it with this compoenent. 5. I will assign the value "update" to property once user selects update radio button. 6. rest of components should have PROPERTY != "update". Now if user selects update then ONLY update to you application would be applied, however you may have to take care some of the "hidden" condition which depends on your application. HTH
... View more
Jul 06, 2009
10:11 AM
tcom36 wrote: I do have an InstallScript project providing german, french and italian as installation language. Unfortunately, the language selection dialog when starting the setup shows: German French (Standard) Italian Is there a way to overload the string for french, I would like to remove "(Standard)". Thanks for any input. (on an InstallScript MSI project, it was possible to change the strings by adding a [Language] section in the relevant IS2008\Support\0x0407.ini file, but InstallScripts do seem to use other files). Look into string table, you should find something there, if not then you could open your .ism as an xml and modify the string there. HTH
... View more
Jul 06, 2009
10:09 AM
keleman wrote: thanks for your helping . it has any other method for modify the property of the setup.exe .you know , it is very terrible that modify property of multiple setup.exe. There are few Resouce Editors that offers command line automation (but they are not free), you could create a repeatable process for customizing resources take a look at some like http://www.heaventools.com/resource-tuner-features.htm HTH
... View more
Jun 30, 2009
12:14 PM
Reureu wrote: Hi, I am working on a basic MSI project with Installshield 2008, and my setup needs to install the .NET framework. That is reasonably easy given the prerequisite editor and its various options. But, my setup must show that the prerequisite was installed successfully by displaying a control on the SetupCompleteSuccess dialog. Is there any way a prerequisite can set an MSI property on successful installation, so that this property can be used later in the UI or execute sequence? Or does anybody see a different way to implement this behaviour? Regards I dont think you could implement said behavior using Pre-req editor however what you could do is create your own pre-req installer e.g look on destination machine if .NET is installed, if NOT then initiate the .NET installation by calling LaunchAppAndWait() , then you could read the return value of VAR assigned to LaunchAppAndWait and based on the value assigned proceed futher.. HTH
... View more
Jun 30, 2009
12:10 PM
keleman wrote: every body : when i build a install script project . the attribute of setup.exe in the version property page of file attribute dialog is not what i want. it till is the information of Macrovision Corporation. example: copy right , version of product,name of product,campany name ,file version,and so on. how to set it . thanks . my English is poor.sorry. Use a resource Editor to open your final Setup.exe then you could make those changes and save your setup.exe. HTH
... View more
Latest posts by Gvarma
Subject | Views | Posted |
---|---|---|
428 | May 13, 2010 10:25 AM | |
708 | Feb 24, 2010 01:56 PM | |
804 | Aug 20, 2009 01:11 PM | |
2595 | Aug 18, 2009 03:23 PM | |
2549 | Aug 12, 2009 04:56 PM | |
4481 | Jul 30, 2009 03:07 PM | |
1406 | Jul 23, 2009 05:31 PM | |
1406 | Jul 22, 2009 05:02 PM | |
478 | Jul 09, 2009 12:49 PM | |
1643 | Jul 09, 2009 12:39 PM |
Activity Feed
- Posted Re: silent installs and SdShowMsg on InstallShield Forum. May 13, 2010 10:25 AM
- Posted Re: Issue with ROLLBACK during abort on InstallShield Forum. Feb 24, 2010 01:56 PM
- Posted Re: Custom Dialog .rul file on InstallShield Forum. Aug 20, 2009 01:11 PM
- Posted Custom Dialog .rul file on InstallShield Forum. Aug 18, 2009 03:23 PM
- Posted Re: DotNetCoCreatedObject crash problem on InstallShield Forum. Aug 12, 2009 04:56 PM
- Posted Re: How to change the File Version of the Setup.exe file? on InstallShield Forum. Jul 30, 2009 03:07 PM
- Posted Re: Adding Checkbox on InstallShield Forum. Jul 23, 2009 05:31 PM
- Posted Re: Adding Checkbox on InstallShield Forum. Jul 22, 2009 05:02 PM
- Posted Re: ProductName property on InstallShield Forum. Jul 09, 2009 12:49 PM
- Posted ProductName property on InstallShield Forum. Jul 09, 2009 12:39 PM
- Posted Re: Condition for a subinstall that allows for fresh install, repair and upgrade on InstallShield Forum. Jul 07, 2009 02:20 PM
- Posted Re: Overload strings in Language selection dialog of InstallScripts on InstallShield Forum. Jul 06, 2009 10:11 AM
- Posted Re: about setup.exe attribute .version and so on on InstallShield Forum. Jul 06, 2009 10:09 AM
- Posted Re: Can a successful prerequisite installation set a property? on InstallShield Forum. Jun 30, 2009 12:14 PM
- Posted Re: about setup.exe attribute .version and so on on InstallShield Forum. Jun 30, 2009 12:10 PM
- Posted Re: Change File version and other properties of setup.exe on InstallShield Forum. Jun 26, 2009 04:48 PM
- Posted Re: Change File version and other properties of setup.exe on InstallShield Forum. Jun 25, 2009 03:37 PM
- Posted Re: Restart Manager lists services to be stopped via ServiceControl table on InstallShield Forum. Jun 25, 2009 03:35 PM
- Posted Re: How can I remove the current version of software and install new. on InstallShield Forum. Jun 25, 2009 01:42 PM
- Posted Re: Windows 7 | Windows 2008 R2 on InstallShield Forum. Jun 19, 2009 04:00 PM