Search found 34 matches
- Tue Apr 07, 2020 7:58 am
- Forum: PowerShell Studio
- Topic: Auto-Increment file version does not work correctly
- Replies: 6
- Views: 5025
Auto-Increment file version does not work correctly
Product: PowerShell Studio 2020 (64 Bit) Build: v5.7.174 OS: Windows 10 Pro (64 Bit) Build: v10.0.19592.0 When building a exe the Auto-Increment file version does not work correctly. as per the attached screenshot, the resulting exe will be version 1.0.5.0 however the value is not updated in the .ps...
- Mon Apr 06, 2020 4:29 pm
- Forum: PowerShell GUIs
- Topic: Buildversion, use exeversion to show in GUI?
- Replies: 8
- Views: 4212
Re: Buildversion, use exeversion to show in GUI?
you can call the following from inside your script.
It will pull determine the running file and pull the version info from it.
It will pull determine the running file and pull the version info from it.
Code: Select all
$RuntimeFileInfo = Get-Item $hostinvocation.MyCommand.path
$RuntimeVersion = $($RuntimeFileInfo.VersionInfo.ProductVersion)
- Sun Feb 16, 2020 3:05 pm
- Forum: PowerShell
- Topic: Passing Switch parameters to packaged executable
- Replies: 4
- Views: 3744
Re: Passing Switch parameters to packaged executable
Interesting,
The packager did not previously support [switch] options as per the section "Change Parameter Values to Strings" in the URL https://www.sapien.com/blog/2015/11/30/ ... able-file/
The packager did not previously support [switch] options as per the section "Change Parameter Values to Strings" in the URL https://www.sapien.com/blog/2015/11/30/ ... able-file/
- Sun Feb 09, 2020 1:00 am
- Forum: PowerShell GUIs
- Topic: squeeze multiple files (.dll and .xaml) into an one .exe package
- Replies: 8
- Views: 3635
Re: squeeze multiple files (.dll and .xaml) into an one .exe package
Not trying to hide the DLL's just trying to have a single, portable exe, that does not need to be installed to run
- Fri Feb 07, 2020 12:56 am
- Forum: PowerShell GUIs
- Topic: squeeze multiple files (.dll and .xaml) into an one .exe package
- Replies: 8
- Views: 3635
Re: squeeze multiple files (.dll and .xaml) into an one .exe package
this is true, however they can be run in memory if you are not extracting to disk...Alexander Riedel wrote: ↑Thu Feb 06, 2020 11:09 pm Just make sure you don't install your scripts in any protected folder like "Program Files" or below, as the extract will fail without elevation.
- Thu Feb 06, 2020 10:35 pm
- Forum: PowerShell GUIs
- Topic: squeeze multiple files (.dll and .xaml) into an one .exe package
- Replies: 8
- Views: 3635
Re: squeeze multiple files (.dll and .xaml) into an one .exe package
Actually, I found a way to do exactly this... :) I have a little script I use that compresses dll's, files, etc into a self extracting ps1 file... you point it at all of your required extra files, and it will compress them all to ps1's. then its just a matter of adding them to the project and callin...
- Thu Feb 06, 2020 10:15 pm
- Forum: PowerShell
- Topic: Displaying AD groups where a user account is member of?
- Replies: 7
- Views: 5127
Re: Displaying AD groups where a user account is member of?
try this one out... one additional benefit of this, is that it can be run on any domain joined system without the need to install the AD PowerShell tools, just need appropriate read access to the DC And should support wild cards on both the user and group values. #region Supporting Functions #https:...
- Thu Feb 06, 2020 9:24 pm
- Forum: PowerShell GUIs
- Topic: Powershell job: you cannot call a method on a null-valued expression..Exception.Message at
- Replies: 4
- Views: 3320
Re: Powershell job: you cannot call a method on a null-valued expression..Exception.Message at
The chances are that it is going to be caused by something in either the .ps1 file or the functions
"$ScriptDirectory\CM.ps1", Logging-Output, Add-JobTracker
are you able to share the full project?
"$ScriptDirectory\CM.ps1", Logging-Output, Add-JobTracker
are you able to share the full project?
- Thu Feb 06, 2020 9:15 pm
- Forum: PowerShell
- Topic: Passing Switch parameters to packaged executable
- Replies: 4
- Views: 3744
Passing Switch parameters to packaged executable
I was looking for a way to pass switch parameters to a packaged exe and came across the following article. https://www.sapien.com/blog/2015/11/30/passing-parameters-to-a-script-in-an-executable-file/ While this is a clean workaround for not being able to handle [switch]'s, it still requires a value ...
- Tue Oct 08, 2019 3:57 pm
- Forum: PrimalXML
- Topic: Missing Icon in Context Menu
- Replies: 1
- Views: 16797
Missing Icon in Context Menu
Product: PrimalXML (64 Bit)
Build: v4.5.58
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.18362
Nothing important but in windows when Right Clicking on a XML file, the "Edit with PrimalXML" context menu option is not displaying the Primal XML logo.
Build: v4.5.58
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.18362
Nothing important but in windows when Right Clicking on a XML file, the "Edit with PrimalXML" context menu option is not displaying the Primal XML logo.