PDA

View Full Version : How to use Plugins


coffeeworm
10-14-2004, 02:30 AM
:huh How can I use plugins of AMS5 that I purchased.
e.g. How to use Sqlite Database plugin in Setup Factory 7

csd214
10-14-2004, 07:57 AM
Or even easier, just run the installer for the plugin. It will detect which compatible applications it finds (such as AutoPlay Media Studio 5.0 and Setup Factory 7.0) and install the plugin correctly. You can run it more than once to install for multiple products.

Have a look at http://www.indigorose.com/forums/showthread.php?t=9027

coffeeworm
10-14-2004, 09:21 AM
csd214
Thanks for your reply.
I make a test to use Sqlite plugin like that:
the code in [Global Functions]
------------------------------------------------------------
function createDB()
db = SQLite.Open("c:\\test.db");
SQLite.Query(db, "Create table song(ID integer primary key, sid text, name text, descript text)");
SQLite.Query(db, "Create table score(ID integer primary key, pid text, sid text, name text, descript text)");
SQLite.Query(db, "Create table music(ID integer primary key, sid text, name text, descript text)");
end
--------------------------------------------------------------

the code in [action/on postInstall]
-----------------------------------------------------
createDB();
---------------------------------------

I build the project to setup.exe and run it.
The test.db will be created,but I got an err form operation.
Why? :huh