Search found 27 matches

by Nillth
Tue Apr 28, 2020 3:53 pm
Forum: PowerShell Studio
Topic: Auto-Increment file version does not work correctly
Replies: 6
Views: 742

Re: Auto-Increment file version does not work correctly

brittneyr wrote:
Wed Apr 15, 2020 1:46 pm
It should be fixed in the next build of PowerShell Studio.
Thanks Brittney!
by Nillth
Wed Apr 08, 2020 11:57 pm
Forum: PowerShell Studio
Topic: Auto-Increment file version does not work correctly
Replies: 6
Views: 742

Re: Auto-Increment file version does not work correctly

Note: there is a bit of the a delay in the Gif, however I build the exe twice, and show the properties on the exe after each build. The build process increments from the stored value in the PSbuild file 1.0.1.0 to 1.0.2.0 however the build process does not update the psbuild file. so subsequent buil...
by Nillth
Wed Apr 08, 2020 11:53 pm
Forum: PowerShell Studio
Topic: Auto-Increment file version does not work correctly
Replies: 6
Views: 742

Re: Auto-Increment file version does not work correctly

I appreciate that, however I usually build from the Deploy Menu. PowerShell_Studio_rRdUhRBK2T.png and it is not Auto-Incrementing the values stored in the psbuild file. I have tried removing the .psbuild file and starting fresh, still with no luck the build increments from the stored version e.g. if...
by Nillth
Tue Apr 07, 2020 7:58 am
Forum: PowerShell Studio
Topic: Auto-Increment file version does not work correctly
Replies: 6
Views: 742

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...
by Nillth
Mon Apr 06, 2020 4:29 pm
Forum: PowerShell GUIs
Topic: Buildversion, use exeversion to show in GUI?
Replies: 8
Views: 1471

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.

Code: Select all

$RuntimeFileInfo = Get-Item $hostinvocation.MyCommand.path
$RuntimeVersion = $($RuntimeFileInfo.VersionInfo.ProductVersion)
by Nillth
Sun Feb 16, 2020 4:05 pm
Forum: Windows PowerShell
Topic: Passing Switch parameters to packaged executable
Replies: 4
Views: 1862

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/
by Nillth
Sun Feb 09, 2020 2:00 am
Forum: PowerShell GUIs
Topic: squeeze multiple files (.dll and .xaml) into an one .exe package
Replies: 8
Views: 996

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
by Nillth
Fri Feb 07, 2020 1:56 am
Forum: PowerShell GUIs
Topic: squeeze multiple files (.dll and .xaml) into an one .exe package
Replies: 8
Views: 996

Re: squeeze multiple files (.dll and .xaml) into an one .exe package

Alexander Riedel wrote:
Fri Feb 07, 2020 12:09 am
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.
this is true, however they can be run in memory if you are not extracting to disk...
by Nillth
Thu Feb 06, 2020 11:35 pm
Forum: PowerShell GUIs
Topic: squeeze multiple files (.dll and .xaml) into an one .exe package
Replies: 8
Views: 996

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...
by Nillth
Thu Feb 06, 2020 11:15 pm
Forum: Windows PowerShell
Topic: Displaying AD groups where a user account is member of?
Replies: 7
Views: 1887

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:...