Search found 5543 matches

by davidc
Thu Dec 13, 2018 1:51 pm
Forum: Windows PowerShell
Topic: Self-Updating Powershell Windows Service?
Replies: 3
Views: 34

Re: Self-Updating Powershell Windows Service?

Depending on the account the service is running, you probably don't need elevation. Have the service download the msi and kick off the install process. The msi installs, it will automatically start up the service for you.
by davidc
Thu Dec 13, 2018 12:05 pm
Forum: Windows PowerShell
Topic: Self-Updating Powershell Windows Service?
Replies: 3
Views: 34

Re: Self-Updating Powershell Windows Service?

If you are using an MSI installer for the service, all you would have to do it download the new MSI and run it (elevated). The MSI should automatically stop the service before updating it.
by davidc
Thu Dec 13, 2018 8:54 am
Forum: PowerShell Studio
Topic: Only Entry "V2 - 32Bit" after Upgrading
Replies: 4
Views: 200

Re: Only Entry "V2 - 32Bit" after Upgrading

I reviewed the uploaded files and it seems to be missing files that should be there even if the cache fails. Also, some files have the incorrect name, where they are missing a portion of the name. Let's check the following: 1. Check the Windows Event logs under Applications. Do you see any errors re...
by davidc
Wed Dec 12, 2018 3:49 pm
Forum: PowerShell Studio
Topic: Here-String not working PowerShell Studio 2019
Replies: 6
Views: 189

Re: Here-String not working PowerShell Studio 2019

This sounds like a line ending issue. Usually Notepad expects CRLF (`r`n) line endings and if it is just LF (`n) it will show the text all on the same line.
by davidc
Wed Dec 12, 2018 3:45 pm
Forum: PowerShell Studio
Topic: Unhandled Exception Error
Replies: 1
Views: 64

Re: Unhandled Exception Error

We have been unable to reproduce this issue. The fact that it is a preview version could have to do with it, but try installing .NET 2.0 and see if that makes a difference for you.
by davidc
Wed Dec 12, 2018 9:18 am
Forum: PowerShell Studio
Topic: Here-String not working PowerShell Studio 2019
Replies: 6
Views: 189

Re: Here-String not working PowerShell Studio 2019

In order to investigate, please zip the psf or project and upload it here:

https://www.sapien.com/support/upload

Be sure to include the psbuild file so we know what settings you are using.
Also, please include the text files for before and after the update (if possible).
by davidc
Tue Dec 11, 2018 1:59 pm
Forum: PowerShell Studio
Topic: Custom Module Not Loading
Replies: 1
Views: 106

Re: Custom Module Not Loading

If you have a psm1 in with Build is set to Content and Shared = True , your script must still load psm1 file during execution in order for PowerShell to discover the functions. Is there a reason you are using a psm1 instead of just using ps1 that are built as part of the project? If you set the Buil...
by davidc
Tue Dec 11, 2018 1:51 pm
Forum: PowerShell Studio
Topic: deploy .msi to public folder
Replies: 1
Views: 104

Re: deploy .msi to public folder

The MSI installer doesn't support defining custom folders at this time, but you could try creating a Custom Action that copies the necessary files. For more details on Custom Actions, please refer to the following article: https://www.sapien.com/blog/2018/02/26/custom-actions-in-primalscript-2018s-m...
by davidc
Tue Dec 11, 2018 8:06 am
Forum: PowerShell Studio
Topic: Problem: Upgrade from offline activated 2018 to 2019
Replies: 3
Views: 160

Re: Problem: Upgrade from offline activated 2018 to 2019

Please verify that the license file is located in the following folder:

C:\ProgramData\SAPIEN\LicenseFiles

If not, please copy the file to this location and restart the application.