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
Post a Comment