Jan 16, 2009
05:57 PM
I'm not aware of an equivalent to ISCmdBld's -z switch in the INI file. (You can of course modify properties pre-build using the Automation interface.) (Kathy, recent InstallShield versions support a -z switch for ISCmdBld to set the value of an MSI property, not to be confused with the run-time setup.exe -z switch for setting CMDLINE for an InstallScript MSI project.) If nothing else, you (meaning "everyone") can vote for this as a feature request here. Robert
... View more
Dec 19, 2008
09:30 AM
Hi there. To start with, I wouldn't test software on development machines. Or develop software on test machines. To answer your question though, you can disable the Windows Installer service. This will apply to all installed products, not just yours. The advantage is that you don't have to change your Installer project at all. Peter
... View more
Dec 19, 2008
09:58 AM
I'm glad changing the directory worked for you. Until I know more about why this is a problem, I can only guess as to a hotfix, and this hasn't come up much. Is it possible that the DLL or EXE you are COM extracting is loading its dependencies in an unusual fashion?
... View more
Dec 15, 2008
02:42 PM
If it's any help, I think you can set the order InstallShield implicitly requests by editing the Command Line of the ISJITCompileActionAtInstall and ISJITCompileActionAtUnInstallcustom actions (Show All custom actions to see them). I don't know if it will help for your use case though; I would have expected ngen to build a dependency tree instead of just failing.
... View more
Dec 01, 2008
02:16 PM
Unfortunately, VAL0004 incorrectly reports warnings/errors that it should not. The only cases that cause a component to not be reinstalled are as follows: - The keyfile of the component in the new package has a lower version than the file already on the target machine. - The keyfile of the component in the new package is unversioned and the existing file on the target machine is versioned. All other cases will allow the component to reinstall (including if files in the component have changed but the keyfile has not). Work order IOC-000074857 was submitted to correct the information reported by VAL0004 and will be resolved in a future release. The runtime behavior that you are seeing is expected based on MSI component upgrade rules.
... View more
Nov 25, 2008
09:07 AM
If you're running as user 'a' and you want things put into user 'b's profile, you may need to employ something like Advertised Shortcuts or Active Setup (not recommended if you can help it in my experience) to run a repair of the install to install the files to where you want. Chris
... View more
Aug 21, 2008
07:49 AM
I'm not sure if you made a typo or are mistaken, but the keypath should be HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall Make sure that your project is setup in "Standard" maintenance mode. This will cause the uninstall wizard to appear when you click setup as opposed to the normal setup wizard.
... View more
Jul 03, 2008
11:24 AM
MichaelHu wrote: Dear all! I'm trying to prevent the user from running setup.exe twice. I do a lot of hardware checks at the beginning of the installation. These checks are all logged into one single log-file. Now if the user starts setup.exe again the log-file gets messed up by the two running instances... Is there an easy way to prevent setup.exe from running twice? Thank you in advance for your help! Michael only for my understanding: you call an MSI Package within an setup.exe right? Well if you call a setup.exe (which is normally the wrapper to a original MSI File) you can check for the Windows Installer Error Code 1500, which means that the Installer can't run two setups at the same time.. the error will be produced if the Windows Installer on the target machine tries to (or the user manually of course) run setup.exe 2 times in the same sequence.. and then (maybe with an "if.... statement") you can lock the log file and print out an error message and the log shoudn't be messed by the second setup.exe Wrapper Instance
... View more
Jun 30, 2008
09:49 AM
I'd really appreciate your help!! Michael
... View more
Jul 02, 2008
12:28 PM
is this an msi or installscript? with my old installscripts I'd use the DOTNETFRAMEWORKINSTALLED at the beginning of the install and set a flag for it. Then when I wrote to my log files I'd either write the string '.net installed already' or 'not installed' to it depending on the flag. kinda tedious but it worked.
... View more
May 28, 2008
12:50 PM
I think MsiGetMode will help you distinguish immediate from deferred execution, for example, but offhand I can't think of distinguishing the UI sequence from Execute sequence at run time. Perhaps add a set-property custom action to the beginning of the UI and Execute sequences, each setting a custom private property (in_ui_sequence and in_execute_sequence, for example), and calling MsiGetProperty or MsiEvaluateCondition from InstallScript to see which is defined?
... View more
May 05, 2008
10:58 PM
You might want to try creating a log file and look at the value of the ADDLOCAL property in the log. This will explain why the behavior isn't working as you expect. See here for more information on creating a log file: http://kb.acresso.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=Q104807&sliceId=1&docTypeID=DT_HOWTO_1_1&dialogID=12661749&stateId=0
... View more
Apr 21, 2008
09:24 AM
A dialog exists in InstallScript/MSI project. If you are using a Basic MSI project, like we are, you can add a ListView control to the ReadyToInstall dialog and populate it with information through the Direct Editor.
... View more
Apr 18, 2008
10:51 AM
Thanks robert! Unfortunately the language dialog gets suppressed by setting the /L parameter... Do you think it is possible to edit or access the language dialog somehow?
... View more
Feb 15, 2011
10:20 PM
Poltron wrote: Actually, this may be better. Install watch Pro http://www.brothersoft.com/installwatch-download-9407.html That's the one I typically use.
... View more
Latest posts by MichaelHu
Subject | Views | Posted |
---|---|---|
882 | Jan 15, 2009 11:08 AM | |
2845 | Jan 13, 2009 07:30 AM | |
1932 | Dec 19, 2008 06:52 AM | |
597 | Dec 19, 2008 05:59 AM | |
1497 | Dec 17, 2008 07:38 AM | |
964 | Dec 17, 2008 07:24 AM | |
2577 | Dec 15, 2008 11:35 AM | |
1677 | Dec 01, 2008 07:38 AM | |
1552 | Nov 19, 2008 10:21 AM | |
3520 | Aug 21, 2008 02:11 AM |
Activity Feed
- Posted Re: Build Parameters With INI Files: How to pass "-z" parameters on InstallShield Forum. Jan 15, 2009 11:08 AM
- Posted Build Parameters With INI Files: How to pass "-z" parameters on InstallShield Forum. Jan 13, 2009 07:30 AM
- Posted Auto-Repair vs. Developers testing their Software on InstallShield Forum. Dec 19, 2008 06:52 AM
- Posted Re: Strange COM Data Extraction issue on InstallShield Forum. Dec 19, 2008 05:59 AM
- Posted Strange COM Data Extraction issue on InstallShield Forum. Dec 17, 2008 07:38 AM
- Posted Re: Static Scanner shows file that is included in project as missing on InstallShield Forum. Dec 17, 2008 07:24 AM
- Posted .NET Precompile Assemblies on InstallShield Forum. Dec 15, 2008 11:35 AM
- Posted Key file not changed - but component gets updated anyway - Why? on InstallShield Forum. Dec 01, 2008 07:38 AM
- Posted RunAs Administrator - but i need current user profile on InstallShield Forum. Nov 19, 2008 10:21 AM
- Posted Simulate an installation with registry keys on InstallShield Forum. Aug 21, 2008 02:11 AM
- Posted Re: Detect if setup.exe is already running on InstallShield Forum. Jul 03, 2008 02:55 AM
- Posted Re: Asynchronous Custom Action / SpawnWaitDialog on InstallShield Forum. Jun 30, 2008 09:49 AM
- Posted Detect if setup.exe is already running on InstallShield Forum. Jun 26, 2008 04:49 AM
- Posted Asynchronous Custom Action / SpawnWaitDialog on InstallShield Forum. Jun 26, 2008 04:24 AM
- Posted Show the user that .NET was just installed. on InstallShield Forum. Jun 19, 2008 03:09 AM
- Posted Determine current sequence with InstallScript on InstallShield Forum. May 28, 2008 11:01 AM
- Posted Re: Accessing ADDLOCAL within User Interface Sequence on InstallShield Forum. Apr 29, 2008 11:32 AM
- Posted Accessing ADDLOCAL within User Interface Sequence on InstallShield Forum. Apr 29, 2008 02:32 AM
- Posted How to display an Installation Summary Dialog? on InstallShield Forum. Apr 21, 2008 08:33 AM
- Posted Re: Programmatically preselect a language in language dialog? on InstallShield Forum. Apr 18, 2008 10:51 AM