I hope someone can give me some kind of input on this, since I have found I rather hard to find any useable documentation on this..

Posted 31 October 2003 - 15:43
Posted 01 November 2003 - 11:18
Stefan Krüger
InstallSite.org twitter facebook
Posted 12 November 2003 - 17:56
Posted 13 November 2003 - 17:06
Posted 13 November 2003 - 17:39
Stefan Krüger
InstallSite.org twitter facebook
Posted 13 November 2003 - 19:49
THE big problem I had with Installscript MSI setups, is the horrendous "Major upgrade causes system changes to rollback" problem: http://support.insta...ticleid=Q107649.
In short: it is so difficult to hook up Installshield Professional's event model to the Windows Installer technology, that it just doesn't work correctly, and I don't think it ever will. Like it or not you will have to get familiar with Windows Installer silly sequencing system where the same ExecuteSequence is used for install, uninstall, self-repair, patching and repair. I agree that this sequence stuff is the worst part of windows installer. It is absolutely crazy that there is no more documentation where to put custom actions and how to configure them.
If I were you I would locate the help topic "In-Script execution" in Installshield Developer help. This section explains the different "run settings" for custom actions, and this is important to know (I should have read this earlier to avoid some of my mistakes). Then just create a Basic MSI project and insert a script file. The script file contains the information you need to create Installscript custom actions. Create a custom action, point it to your Installscript function and finally insert it into the sequence and you are ready to go.
Edited by Glytzhkof, 16 August 2014 - 01:04.
Posted 17 November 2003 - 19:13
Posted 17 November 2003 - 19:32
Stefan Krüger
InstallSite.org twitter facebook
Posted 18 November 2003 - 07:17
Posted 18 November 2003 - 07:28
Posted 18 November 2003 - 08:40
Stefan Krüger
InstallSite.org twitter facebook
Posted 16 December 2003 - 19:58
Posted 16 December 2003 - 22:06
Stefan Krüger
InstallSite.org twitter facebook
Posted 29 March 2004 - 19:35
Posted 30 March 2004 - 03:10
I agree dsumners, much of the benefit of MSI is the open format and hence the "for free customizability" achieved for corporate customers.
So use Basic MSI for the following reasons:
Edited by Glytzhkof, 16 August 2014 - 01:05.
Posted 30 March 2004 - 04:26
Posted 30 March 2004 - 08:11
Stefan Krüger
InstallSite.org twitter facebook
Posted 30 March 2004 - 17:59
Posted 13 April 2004 - 18:22
Posted 13 April 2004 - 19:32
Stefan Krüger
InstallSite.org twitter facebook
Posted 13 April 2004 - 21:09
Posted 13 April 2004 - 21:27
Stefan Krüger
InstallSite.org twitter facebook
Posted 14 April 2004 - 21:25
Posted 15 April 2004 - 21:04
Stefan Krüger
InstallSite.org twitter facebook
Posted 18 May 2004 - 03:12
Posted 18 May 2004 - 03:19
QUOTE |
...remember that VBscripts depend on the scripting runtime on the target machine, which may be disabled to protect from viruses. The safest way for a custom action is a DLL written in C or C++ (no MFC of course!) |
Edited by Glytzhkof, 18 May 2004 - 03:20.
Posted 19 May 2004 - 08:46
Posted 02 June 2004 - 18:32
Posted 02 June 2004 - 18:50
QUOTE (ConfigControl @ 2004-04-13 21:09) |
So with a Basic MSI I will be able to include the Installscript engine so I can continue to use my current Installscript funcitons in the Custom Actions? Thanks, Jim |
Posted 02 June 2004 - 23:32
Posted 03 June 2004 - 03:28
Posted 03 June 2004 - 14:22
Posted 03 June 2004 - 14:26
QUOTE (Stefan Krueger @ 2004-03-30 18:30) |
InstallScript MSI combines two technologies that sometimes don't work very well together. Also you lose a lot of the important MSI functionality. For instance system administrators cannot deploy InstallScript MSI setups using Group Policy. This only worls with Basic MSI. So InstallScript MSI isn't better than pure InstallScript, but adds the complexity of MSI. |
Posted 03 June 2004 - 23:46
Posted 04 June 2004 - 01:03
Apart from many small details during development that I cannot recall, here is why we had to scrap Installscript MSI altogether: "Major upgrade causes system changes to rollback" problem: http://support.insta...ticleid=Q107649.
This bug in Installshield Developer caused any system changes. ANY system changes done through Installscript to be rolled back at the end of a major upgrade. This is not a problem if you don't use Installscript at all, but as soon as you do problems result, and there is NOTHING you can do to fix it. I am not even sure if this issue is fixed in Installshield X.
Finally Installscript is not real Windows Installer, so it does not really make sense to use it. The benefits of the open Windows Installer for system administrator customization is basically lost, and the whole setup will run slower because you have the complex windows installer combined with the Installscript event model. This sums up to more complexity, more things that can go wrong, and slower execution. And bugs.
Basic MSI is leaner, faster, standard, less buggy. Your choice .
Edited by Glytzhkof, 16 August 2014 - 03:24.
Posted 06 June 2004 - 13:47
Posted 07 June 2004 - 00:44
Posted 07 June 2004 - 08:31
Stefan Krüger
InstallSite.org twitter facebook
Posted 07 June 2004 - 14:18
Edited by mishka, 07 June 2004 - 14:20.
Posted 07 June 2004 - 23:25
Stefan Krüger
InstallSite.org twitter facebook
Posted 07 October 2004 - 20:27
Posted 08 October 2004 - 16:21
Stefan Krüger
InstallSite.org twitter facebook
Posted 10 March 2005 - 21:29
Posted 14 March 2005 - 23:46
Posted 07 October 2008 - 10:13
Posted 07 October 2008 - 16:12
QUOTE |
They won't know what my custom actions are doing will they? |
QUOTE |
do i need to write complementary custom actions in C/C++ that undo my installer custom actions, or is Windows Installer clever enough to record those actions? |
Stefan Krüger
InstallSite.org twitter facebook
Posted 17 October 2008 - 19:22
Posted 17 October 2008 - 22:13
QUOTE |
Can I use an InstallScript project if I have dll's that need to be installed in the GAC? |
Stefan Krüger
InstallSite.org twitter facebook