Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.164
OS: Windows 10 Pro (64 Bit)
Build: v10.0.17763.0
Can we access values in the Script Packager form fields for use in other fields? For example, it would be fantasticly useful if we could insert the version number from the 'File version' field into the 'Output file' field or the 'Output folder' field, as to avoid overwriting previous versions (as is the current behaviour).
I have checked the 'auto-increment file version' checkbox, so it would be nice if I could dynamically update the Output folder to something like:
-My project\
--Output\
----1.2.1.1\ <--- Set dynamically
--------File.exe
----1.3.1.1\ <--- Set dynamically
--------File.exe
----1.4.1.1\ <--- Set dynamically
--------File.exe...
This may already be achievable by way of post-build commands, if so that's what I need to look in to. Perhaps a PS script that just creates a folder with the correct version number and moves the EXE from the output folder? I did find this topic which I believe is relevant: viewtopic.php?t=13573
Use script packager field values as variables
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
-
- Posts: 7
- Last visit: Tue Oct 12, 2021 6:45 am
Re: Use script packager field values as variables
That would be quite useful. Please submit a feature request here:
https://www.sapien.com/requests
https://www.sapien.com/requests
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.