How can i store/use a value selected by sql statment from sql server. the SQL goes some thing like this...
"SELECT DB_VERSION FROM TBL_VERSION"
now i want to use the the value of the field "DB_VERSION " selected by SQL and use it in the installer. But i am not being able to use it.
I have also tried using this
SELECT $CURRENT_VERSION$ = DB_VERSION FROM TBL_VERSION
Where $CURRENT_VERSION$ is declared in the Installer.
But not being able to access the value selected. How to do it?
How to access value selcted by SQL Script in the installer
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Sorry, the SQL plug-ins do not write back to script variables or return data.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Re: How to access value selcted by SQL Script in the install
You can create an sql script that writes data on a .txt file to a temp directory and read the content you want (return values) from there, for example, line by line.
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
InstallAware Software Corporation
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
InstallAware Software Corporation
-
- Posts: 155
- Joined: Mon Nov 12, 2007 11:59 am
Who is online
Users browsing this forum: No registered users and 88 guests