Quantcast
Channel: MindQuake Plugins & Examples
Viewing all 92 articles
Browse latest View live

Dependency module for Setup Factory: .NET 4.0 (Web Install)

$
0
0

This dependency module works with Setup Factory 8 and 9, and can be used to check for the .NET Framework 4.0 on the target computer, and install it if not found. This script uses the web installer (dotNetFx40_Full_setup.exe) to download and install the proper binaries for the .NET Framework, and will add less than 1 MB to your installer.


Example: Email Client (AutoPlay Media Studio)

$
0
0

In this example for AutoPlay Media Studio, I show how you can receive and send email messages, without the use of plugins or external applications. Of course, you need to inform POP3 and SMTP servers in order to read and send messages.

This sample application shows how to:

  • Check for new mail
  • Receive the message headers and body, separating the text/plain and text/html parts
  • Send messages (with attachment!)

Available as source code (*.apz) and as finished Web/Email executable.

Dependency module for Setup Factory: Crystal Reports 2005

$
0
0

This is a dependency module for Setup Factory, and should be used when your application needs the Crystal Reports 2005 Runtime (also known as Crystal Reports for .NET Framework 2.0 (x86)) to work properly.

If the Crystal Reports 2005 Runtime cannot be found by the dependency module, the MSI installer will be started in passive mode, displaying a quick progress screen before the first dialog of your installer is displayed. This runtime module requires that the .NET Framework 2.0 is already present on the target system.

Both MSI installers for 32-bit and 64-bit versions of the Crystal Reports 2005 runtime are included, as well as detection scripts for the .NET 2.0 Framework for both platforms. If you already have the Crystal Reports runtimes and don't need them, you can download the installer containing only the detection scripts.

ODBC Actions updated to 2.5.0.0

$
0
0

The ODBC Actions plugin was updated to version 2.5.0.0.

The new version allows simultaneous database connections - two connections are allowed for the evaluation plugin, and up to five connections for the registered version. With this new ODBC plugin, it is possible to copy data from one database to another, for example, which makes this plugin much more powerful than before.

Also, the trial period was increased to two weeks, giving evaluating users more time to test the product.

Warning: This plugin will require a new unlock code.

If you are currently using the registered version, you will need to send me the "Hardware key" that is shown in the new activation dialog. I will send you a proper license code as soon as possible. The new activation system is more forgiving about hardware changes, and a new license might not even be required if you need to reinstall your operating system.

 

ImageEx Object updated to 1.2.0.0

$
0
0

The ImageEx object was updated today to version 1.2.0.0 (for AutoPlay Media Studio 8.0)

This new build allows reflections, like a mirror effect, below the image that is currently loaded. The loded image may or not have transparency - the reflection will mirror the source correctly.

You can adjust the height and the opacity of the reflection, to match your needs. This can be done in the updated Properties dialog, or with three new actions:

  • ImageEx.SetReflection(string ObjectName, boolean Reflection)
  • ImageEx.SetReflectionHeight(string ObjectName, number Height)
  • ImageEx.SetReflectionOpacity(string ObjectName, number Opacity)

This new version is available now, as evaluation or as a free update for all users who paid for the plugin in the past.

ZipEx Actions Plugin released

$
0
0

A new actions plugin was released today. it is compatible with autoplay media studio 8.0 and setup factory 9.0, and is available in both 32 and 64 bit versions.

the zipex actions plugin allows you to:

  • create new zip archives, and password protect the contents with a zip 2.0 compatible password, or you can use aes 128 bit or aes 256 bit encryption, which is winzip compatible;
  • decompress zip archives, which were were protected using the zip 2.0 password, or strong aes encryption (as created with winzip);
  • create self-extracting zip archives, which will be using aes 256 bit encryption in case you set a password;
  • append files to an existing zip archive without recompressing the whole contents;
  • retrieve a table of all files contained in a zip archieve, with their file names and sizes (compressed and uncompressed);
  • test if a rar archive can be decompressed;
  • decompress rar archives, which can be multi-volume and/or password protected;
  • retrieve a table of all files contained in a rar archieve, with their file names and sizes (compressed and uncompressed).

most actions allow to invoke a callback function, so you can give some visual feedback in your application or installer while the compression action is working in the background.

 

 


winzip is copyright © 2010 winzip computing, s.l., a corel company

Socket Object updated to 2.1.1.0

$
0
0

The Socket object for AutoPlay Media Studio 8 was updated today.

  • Correction: When a connection attempt using Socket.Open() failed, the socket would not allow new connection attempts (on same or different addresses or port numbers).
  • Enhancement: Socket.Open() now has an optional fourth parameter, which allows to set a custom timeout period. The default value for attempting a connection is defined as 20 seconds, but if you want to wait less or longer, you now can set a different timeout value. If left blank or set to 20 seconds, the action will perform exactly as usual.

 

Multithread Plugins released

$
0
0

With the aid of two plugins, one Actions plugin and one Object plugin, true multithreading is now available for AutoPlay Media Studio 8.

Until now, if you needed to run an external program and get the exit code, your AutoPlay application would need to wait until the external application ended processing. With the Multithread plugins, you can now start any number of external applications, continue to work in your AutoPlay application, and still retrieve the exit code when any of the external application is terminated.

Not only can you retrieve the exit code, but you also can set a maximum amount of time for the external application to run. If the application is still executing when the time runs out, the program is terminated and a specific return code is sent to your AutoPlay application.

Although multithreading, semaphores and process synchronization is a fairly complex matter, all this is kept "under the hood". You will need to use only two actions - one for each plugin, to start and monitor external applications successfully. The provided documentation includes step-by-step instructions how to use the plugins in your project. A sample project is also available on the web page.


Crypto Actions updated to 2.1.0.3

$
0
0

The new version of the Crypto actions plugin (available for both Lua 5.0 and Lua 5.1), features faster and better file encryption and decryption actions.

Although the former versions of the plugin worked correctly, I was made aware that there could be issues when processing very large files, typically larger than 400 MB. As there is a great amount of RAM required to perform the actions, it was possible to receive "Out of Memory" errors. This new build fixes this issue, and it is now possible to encrypt and decrypt files of virtually any size. If you process files with a former version of the plugin, don't miss this update.

The latest updates were also applied to the Lua 5.0 version (for AutoPlay Media Studio 7, Setup Factory 7 and 8, TrueUpdate 3 and Visual Patch 3).

Socket Object updated to 2.1.3.0

$
0
0

The Socket Object was updated to version 2.1.3.0

Enhancement: This latest version of the Socket Object allows to specify timeouts for Socket.Ping() operations, in the same way as the former enhancement already did for Socket.Open() actions. The default timeout is 1000 milliseconds, however now you can perform scans in your LAN much more faster, by setting a lower timeout.

The latest additions made to the plugin were also ported to the Lua 5.0 (AutoPlay Media Studio 7) version.

 

ODBC Actions updated to 2.6.0.0

$
0
0

The ODBC Actions plugin was updated to version 2.6.0.0.

Change: The ShowOdbcDialog parameter, present in the actions ODBC.OpenDSNConnection() and ODBC.OpenDirectConnection() was modified.

Attentention: If you used this parameter in your scripts to control the visibility of the ODBC connection dialog, you have to revise your scripts!

The parameter was a boolean before, and was changed to string. With the boolean, a true would cause the ODBC connection dialog to appear always, while false would hide it always, even when the connection failed. The absence of the parameter would cause the dialog to be shown automatically, only when needed.

As a new parameter was added to these actions to allow the control of multiple database connections, it became necessary to change the parameter to a string, which now works as this:

When setting it as "show", the ODBC connection dialog will be shown always, with "hide" it always will stay hidden, even if the connection parameters were incorrect, and "auto" will cause the dialog to be shown only when needed.

The latest changes made to the plugin were also ported to the Lua 5.0 version (for AutoPlay Media Studio 7, Setup Factory 7 and 8, TrueUpdate 3 and Visual Patch 3).

Crypto Actions updated to 2.2.0.0

$
0
0

The Crypto actions plugin for AutoPlay Media Studio 8 and Setup Factory 9 was updated to version 2.2.0.0. The new build brings two new actions:

  • Crypto.MCryptString(string Text, string Key, string IV);
  • Crypto.MDecryptString(string Text, string Key, string IV);

These functions allow 256-bit AES string encryption and decryption, compatible with the mcrypt functions as found in PHP. This means that now you can exchange encrypted text with an web server running PHP.

The Lua 5.0 version of the Crypto plugin will be updated soon to reflect these changes.

Dependency module for Setup Factory: SQL Server 2008 R2 Express

$
0
0

A new set of dependencies for Setup Factory, to deploy SQL Server 2008 R2 Express. In this package, you will find:

  • SQL Server 2008 R2 Express (Database Only) for both 32 and 64-bit platforms;
  • .NET Framework 3.5 SP1 (Web Installer)
  • Windows Installer 4.5 for both platforms

The Windows Installer dependencies were slightly modified, because the installation of SQL Server will fail if no reboot is performed after MSI is updated 4.5.

Task Scheduler Actions released

$
0
0

sometimes you may want to run a certain program on end user's computer, like for example invoke the trueupdate client software every 7 days or at each logon, without triggering the annoying uac warning dialog. with the aid of the task scheduler, you can do so, but setting up new tasks is not very intuitive. this lua script was written in an attempt to make the creation of new jobs in the task scheduler much easier while you are deploying your product with setup factory.

if you ask the user for his windows password, you can create a task for running the trueupdate client (for example) silently until update available at each logon, showing the wizard only when a new version is found - without showing uac prompts.

Dependency module for MSI Factory: SQL Server 2008 R2 Express

$
0
0

A new set of dependencies for MSI Factory, to deploy SQL Server 2008 R2 Express. In this package, you will find:

  • SQL Server 2008 R2 Express (Database Only) for both 32 and 64-bit platforms;
  • .NET Framework 3.5 SP1 (Web Installer)
  • Windows Installer 4.5 for both platforms

 


Dependency module for Setup Factory: Adobe AIR

$
0
0

This dependency modules allows to detect and install support for rich internet applications using Adobe AIR.

Please note that you need a license from Adobe to bundle the AIR runtime installer into your setup. Also, the installer for AIR does not allow to bypass the EULA screen.

You need to download the AdobeAIRInstaller.exe and place it into the dependency sub folder before you can use this module in installers built with Setup Factory.

Adobe AIR Dependency Module updated to 1.0.1.0

$
0
0

The detection script was updated so it would correctly find newer releases of Adobe AIR than version 2.6.

The detection script now uses the MSI Upgrade Code, which should make detection hassle-free.

Socket Object updated to 2.1.4.0

$
0
0

The Socket Object was updated to version 2.1.4.0

Enhancement: This latest version of the Socket Object allows to specify a custom size for Socket.Ping() operations. The default amount of data sent in an ICMP package is 32 bytes, but now you can attempt to send smaller or larger data packages.

The update is available for both versions, AutoPlay Media Studio 7.x and AutoPlay Media Studio8.

 

Example: How to use encrypted volumes in AutoPlay Media Studio

$
0
0

Sometimes you may want to hide your resources from prying eyes, so they can't be copied directly from the CD you published, or from the temporary folder. Using an encrypted volume with OTFE (on-the-fly encryption), you can access these files after the file was mounted as a virtual drive.

The example project shows how to pick a free drive letter and mount an encrypted volume created with FreeOTFE, while hiding this drive from Windows Explorer, load resources from the virtual drive and finally dismount it when the application is closed.

The example project is available both in source code (*.apz) and as a executable.

New category for sample Lua code added

$
0
0

I recently added a new category to the web site menu: Example code. In this category, you will find Lua script excerpts, that usually can be used in more than one product.

The new Lua code examples that were added are:

  • Command Line Arguments
    Shows how to process command line arguments passed to applications built with AutoPlay Media Studio, or how to parse options passed to TrueUpdate clients, Setup Factory installers, or patches built with Visual Patch.
  • Single Instance
    This sample code shows how to make sure that only one instance of your application can be started at the same time. The code for AutoPlay Media Studio and TrueUpdate can be adapted to the other applications with minor changes.
  • Center Dialogs
    Setup Factory 9 brought the possibility to use different sizes for dialogs in the same installer. The thing is, when you jump from a small dialog to a bigger one, the upper left corner (the origin) of the window is kept, instead of centering the windows one in relation of the former. This script allows you to do just that: it does not matter if you jump from a big dialog to smaller one, or from a normal sized dialog to a bigger one - the center of the dialog will remain on the same spot, keeping dialogs always centered.
  • Find Java home
    A consise Lua code sample to find where the Java runtime environment is installed, if it can be found.
  • Find RegAsm
    A short script to find an instance of the .NET component registration utility on the computer, so you can successfully register something for COM Interop. Can be used in Setup Factory or wherever you need this.
  • GetFileVersion for MSI
    The function MSI.GetFileVersion() works on *.exe and *.dll files only. This script shows how you can retrieve the same info from a MSI package.

New scripts will be added in the future. If you need a specific sample script, please let me know.

Viewing all 92 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>