They tend to trigger AV software, for one thing, because their engines often hook into script activity. My observation of many VBScripts I've seen is that they're often a lot sloppier than "real" programming. For example, the majority of VBScript custom actions I've seen all contain "On Error Resume Next" and go full speed ahead. Such gems as this:
On Error Resume Next ..... Do while oexec.status=0 Wscript.sleep 100 Loop Yes I know people can write sloppy code in any language, but VBScript seems to encourage it. Phil Wilson -----Original Message----- From: Matt Walker [mailto:matt.wal...@synergis.com] Sent: Monday, January 25, 2010 11:00 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Interviewing an installation developer Why are Custom Actions in VBScript a warning sign? -----Original Message----- From: MikeR [mailto:michael.ru...@gmail.com] Sent: Monday, January 25, 2010 1:44 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Interviewing an installation developer The excerise of writing a simple install would probably be fine, though I'm not sure it is necessary. I do agree that knowing the nuts and bolts of Windows Installer is key and knowing what tables/actions do what is critical. The one potential problem I could see with having them author a small install on the spot is tool knowledge. Knowing Windows Installer itself is more important than knowing WiX, InstallShield, Wise, InstallAware, etc. Learning the concepts and best practices around Windows Installer is more difficult than learning how to use any particular tool. I would be sure to inquire about common issues with Windows Installer where people run into trouble or aspects of Windows Installer that are not intuitive and would require some real hands-on experience to know off the top of your head. Here is a short list of things I'd ask about. 1. Windows Installer component rules, feature/component structure 2. How Windows Installer handles upgrades and patches, making sure they know how FindRelatedProducts and RemoveExistingProducts actions and the Upgrade table work. Understanding how MSPs and therefore MSTs work to augment MSIs, etc. This relates back to #1 because if you don't follow proper component rules you frequently get burned when it comes time to upgrade/patch. 3. Understanding the general sequencing of how an MSI installs, knowing when to schedule custom actions in immediate/deferred mode and understanding when you should be making system changes and what property access is available, use of CustomActionData, commit/rollback actions, etc. 4. Also when it comes to custom actions the only good methods are C++ DLLs or DTF with C#. If you expect this person to write the custom actions for your installs they are going to need at least some basic programming skills in one of these two languages because anything beyond the most basic of installs is going to require custom action work. If your candidate is a proponent of writing custom actions in VBScript/Javascript take that as a warning sign. There's probably some other problematic areas escaping me at the moment but those are the big ones. I worked in Wise's tech support back when Windows Installer was starting to take over Windows setup development and from my experience there I can assure you that the three key areas where people ran into problems with Windows Installer were upgrades, custom actions and following proper component rules. If a candidate has a solid understanding of those areas and can speak about them intelligently that's a very strong starting point. -- View this message in context: http://n2.nabble.com/Interviewing-an-installation-developer-tp4455420p44 55848.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at Portland House, Bressenden Place, London, SW1E 5BF (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users