Sep 07, 2011
01:07 AM
Use: GetValidDrivesList Installscript function...
... View more
Sep 07, 2011
01:05 AM
pv7721 is right in asking about the WHYs and WHEREs. Still, GetDiskSpace() Installscript function can easily be used. Windows APIs can also be invoked in a multitude of ways
... View more
Sep 07, 2011
01:01 AM
mano.n.s75, I am trying to delete a value from the registry when installing or patching so that the registry count remains at 1. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs The requirement is not clear at all... HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs should not be deleted, and should only be modified if the outcome is known and certain. That is why I asked for further details and gave the poster a function that updates rather than deletes...
... View more
Sep 07, 2011
12:26 AM
Try using: RegDBSetKeyValueEx Installscript function. But it would be better if you could give some more info about the background of the problem so that a better solution, if any, can be found.
... View more
Sep 05, 2011
01:58 AM
Run the script from command line: cscript and see the result...
... View more
Sep 02, 2011
08:19 AM
What is it exactly that you are trying to accomplish? Are you running a Major Upgrade? I am running an installer in Modify (upgrade)after changing the GUID of feature This certainly needs a Major Upgrade. All the Versioned files with higher version are replaced but none of the unversioned files (.aspx) even if they are modified are not replaced. That is normal. Modified unversioned files will never be overwritten. Data insufficient for analysis...
... View more
Sep 02, 2011
03:31 AM
Glad to hear that you solved your problem. Just a query: Unfortunately the "executing" part is more complicated than I thought. First of all our setup needs to be run as an administrator. Now starting the setup.exe from the setup loader via WinAPI's CreateProcess() function in a small C++ application does not supply a possibility to eventually show a "run as administrator" dialog. At least not without utmost effort. You posted the above lines and I thought you did not know about the manifest. Thanks for your reply, adding this to the manifest solved our problem. This line shows that you already knew about the manifest but needed the extra parameters for PCA. In this case my post is inappropriate.
... View more
Sep 01, 2011
12:34 AM
If its a Basic MSI, there is nothing better than the log file generated during install. You have to enable logging in the machine if its not already enabled. Learn to live with the logs. If its an Installscript project, write your own log. Find where the install fails etc...
... View more
Aug 30, 2011
12:51 AM
You have to modify one of the following keys, according to your situation: For 64-bit machine, one of the two keys: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\DisplayVersion HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DisplayVersion For 32-bit machine: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DisplayVersion
... View more
Aug 27, 2011
06:06 AM
I think you need Session.Property("INST_ONE") = strInstanceNames and not Session.Property(strPropName) = strInstanceNames.
... View more
Aug 27, 2011
05:33 AM
Why can't we run 2 msi files at same time? msiexec.exe needs a mutex(mutual exclusion) for its functioning. This is to avoid avoid the simultaneous use of common resources and race conditions. These conditions may happen during Registry or FileSystem write/read. Can anyone suggest where i can find the basics of Installer's, Patches, Merge modules, Transforms? There is a Windows Installer book by Phil Wilson. This is the best resource for beginners. Forums and Blogs are the other resources. You cannot find all info compiled together at one place as you can for other technologies. Seek help when stuck and help others when they are stuck.
... View more
Aug 27, 2011
03:03 AM
Use a Win32 exe with a manifest with requireAdministrator attribute. The other options are: asInvoker highestAvailable The manifest is an xml file and can easily be found on the net. There is a wealth of info related to this on the net. Visual Studio offers various ways of including a manifest into the exe. Once this is done, on Vista and later, the shield icon appears on the exe. CreateProcess cannot be used to invoke any exe that needs admin privileges. But if the manifest is included, this can be done. Without the manifest your only choices are: ShellExecute() or ShellExecuteEx() Also, to find if OS is 64-bit you need to use IsWow64Process(). Hope this helps...
... View more
Aug 25, 2011
02:21 AM
Firstly, Is Maintenance support enabled in the project? Secondly, The old Product Guid should be used in the new project. This coupled with the maintenance support enabled should work fine.
... View more
Aug 24, 2011
12:40 AM
Introduce a new string variabe and assign it the CLI parameters. Pass this string variable to LaunchApplication.
... View more
Aug 17, 2011
12:45 AM
There are command line options for logging. You need to invoke the msi file with appropriate command-line flags to create a log. Look at the HELP for msiexec. The registry option is: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer Reg_SZ: Logging Value: voicewarmupx
... View more
Latest posts by MSIYER
Subject | Views | Posted |
---|---|---|
743 | May 09, 2012 01:51 AM | |
629 | May 09, 2012 01:34 AM | |
683 | Nov 23, 2011 07:47 AM | |
1668 | Nov 21, 2011 12:18 AM | |
1640 | Nov 17, 2011 05:31 AM | |
1640 | Nov 17, 2011 03:47 AM | |
1640 | Nov 17, 2011 03:19 AM | |
753 | Nov 17, 2011 01:23 AM | |
753 | Nov 17, 2011 12:38 AM | |
828 | Sep 08, 2011 07:20 AM |
Activity Feed
- Posted Re: Edit shortcut during minor upgrade on InstallShield Forum. May 09, 2012 01:51 AM
- Posted Re: Installer pops when application runs on InstallShield Forum. May 09, 2012 01:34 AM
- Posted Re: Same File - both the application contains... on InstallShield Forum. Nov 23, 2011 07:47 AM
- Posted Re: Files not getting Deleted after uninstall on InstallShield Forum. Nov 21, 2011 12:18 AM
- Posted Re: Recognize which features has been installed on InstallShield Forum. Nov 17, 2011 05:31 AM
- Posted Re: Recognize which features has been installed on InstallShield Forum. Nov 17, 2011 03:47 AM
- Posted Re: Recognize which features has been installed on InstallShield Forum. Nov 17, 2011 03:19 AM
- Posted Re: File not uninstalled on Update on InstallShield Forum. Nov 17, 2011 01:23 AM
- Posted Re: File not uninstalled on Update on InstallShield Forum. Nov 17, 2011 12:38 AM
- Posted Re: Dependency on a Product installed on another machine on InstallAnywhere Forum. Sep 08, 2011 07:20 AM
- Posted Re: Error 7155 in major upgrade error on InstallShield Forum. Sep 08, 2011 07:14 AM
- Posted Re: Can I Add an MSI to Install Project...? on InstallShield Forum. Sep 08, 2011 01:13 AM
- Posted Re: Can I Add an MSI to Install Project...? on InstallShield Forum. Sep 07, 2011 07:45 AM
- Posted Re: Can I Add an MSI to Install Project...? on InstallShield Forum. Sep 07, 2011 01:43 AM
- Posted Re: Can I Add an MSI to Install Project...? on InstallShield Forum. Sep 07, 2011 01:32 AM
- Posted Re: HOWTO: How to disable allowing user to choose remote directory as install directory on InstallAnywhere Forum. Sep 07, 2011 01:07 AM
- Posted Re: Disk Space Check on InstallAnywhere Forum. Sep 07, 2011 01:05 AM
- Posted Re: Delete Registry value on InstallShield Forum. Sep 07, 2011 01:01 AM
- Posted Re: Delete Registry value on InstallShield Forum. Sep 07, 2011 12:26 AM
- Posted Re: Custom Action Error 2147467259 on InstallShield Forum. Sep 05, 2011 01:58 AM