Search found 5 matches

Go to advanced search

by lcofre
Mon Aug 20, 2018 8:40 pm
Forum: Common Problems
Topic: Run Powershell to upgrade database
Replies: 9
Views: 4483
 
Jump to post

Re: Run Powershell to upgrade database

Thanks Daniel, By following "Getting a property value into a script (for deferred custom actions)" to get both my [SQL_SERVER_INSTANCE] custom property and the [TempFolder] path I am forced to make my powershell script as inline, embedded in the AI project file, right? I am keeping the pow...
by lcofre
Thu Aug 09, 2018 10:42 pm
Forum: Common Problems
Topic: Run Powershell to upgrade database
Replies: 9
Views: 4483
 
Jump to post

Re: Run Powershell to upgrade database

Thanks Daniel for your detailed answer. I was always able to see the contents of TempFolder, but the folder I am adding is the one that is not present when executing the custom action. I attach an example project that should show an empty messagebox when executing [System.Windows.Forms.Messagebox]::...
by lcofre
Wed Aug 08, 2018 12:00 pm
Forum: Common Problems
Topic: Run Powershell to upgrade database
Replies: 9
Views: 4483
 
Jump to post

Re: Run Powershell to upgrade database

Thanks very much for your answer Daniel, I tried your advise (the immediate execution one) on a new project that I attach here. It worked the first time, but when I made the temp folder synchronized (folder properties, tab synchronize) the folder is not available even when the script is after Paths ...
by lcofre
Tue Aug 07, 2018 10:33 am
Forum: Common Problems
Topic: Run Powershell to upgrade database
Replies: 9
Views: 4483
 
Jump to post

Re: Run Powershell to upgrade database

Thanks very much for your answer. My script needs two values: $TempFolder The temporary folder that contains my own folder with scripts, "SQL". This SQL folder is synchronized as its content can change between builds as more sql scripts are added. The powershell script will execute all .sq...
by lcofre
Wed Aug 01, 2018 10:07 pm
Forum: Common Problems
Topic: Run Powershell to upgrade database
Replies: 9
Views: 4483
 
Jump to post

Run Powershell to upgrade database

Hi, I have a powershell script that installs a database by executing a set of .sql files. What is the best way to configure this on AI? What I did until now is: Put the folder with all the .sql files in Files and Folders > Target Computer > Windows Volume > Temporary On the script get the database s...

Go to advanced search