Wix: create a sql server database at a specified location -


i have installer created using wix. i'd able specify location sql server installed. 1 solution can think of put placeholder in createdatabase script , in run time replace placeholder actual path user specified.

i wondering if there better way this? wix provide can use of?

thanks,

you can take advantage of standard wix sql extension. instance, sqlstring element provides option specify sql query execute @ install time. sqldatabase element gives out-of-the-box option create sql database. both accept windows installer properties @sql , @server attributes respectively. means can user input, save property , use property in sql elements.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -