Search found 493 matches

by stevens
Tue Aug 09, 2022 12:59 pm
Forum: Former and Future Customers - Questions
Topic: MSI builder: set run of ps1/cmd hidden
Replies: 14
Views: 4998

Re: MSI builder: set run of ps1/cmd hidden

Thanks.
Have no other easy tool to convert. Didn't find easy way to make it into PS Studio without the need to exit my project(?)
Here is the version info:
Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.166
OS: Windows Server 2016 Standard (64 Bit)
Build: v10.0.14393.0
by stevens
Tue Aug 09, 2022 6:21 am
Forum: Former and Future Customers - Questions
Topic: MSI builder: set run of ps1/cmd hidden
Replies: 14
Views: 4998

Re: MSI builder: set run of ps1/cmd hidden

Also, when I create an exe of the ps1 via ps2exe and add it to the project, it pops up btw. It's not silent.
by stevens
Tue Aug 09, 2022 6:02 am
Forum: Former and Future Customers - Questions
Topic: MSI builder: set run of ps1/cmd hidden
Replies: 14
Views: 4998

Re: MSI builder: set run of ps1/cmd hidden

Thanks but doesn't work for me. Script isn't executed during msi installer. It does when I run a powershell ... set-executionpolicy -unrestrcited via cmd
Screenshot_1.png
Screenshot_1.png (12.5 KiB) Viewed 2123 times
by stevens
Tue Aug 09, 2022 2:38 am
Forum: Former and Future Customers - Questions
Topic: MSI builder: set run of ps1/cmd hidden
Replies: 14
Views: 4998

Re: MSI builder: set run of ps1/cmd hidden

But how then run the cmd silent?
I need to set set-executionpolicy before I can run any scripts, I do that via the cmd (or can it be done differently?). This cmd also runs/pops up in the msi installer as first to run.
How can I get that silent?
by stevens
Mon Aug 08, 2022 1:30 pm
Forum: Former and Future Customers - Questions
Topic: MSI builder: set run of ps1/cmd hidden
Replies: 14
Views: 4998

Re: MSI builder: set run of ps1/cmd hidden

Maybe I could run just 1 ps1 that calls all the other in silent mode?
Then I could finally convert this ps1 to an exe and call it from the msi?
by stevens
Mon Aug 08, 2022 6:18 am
Forum: Former and Future Customers - Questions
Topic: MSI builder: set run of ps1/cmd hidden
Replies: 14
Views: 4998

Re: MSI builder: set run of ps1/cmd hidden

Making exe from each script is not the way I want to go since I'm editing/testing them all the time.

>You mention "Maybe you can call that from your silent exe, that should give you more options to run it hidden."
How should I do that?
by stevens
Mon Aug 08, 2022 5:11 am
Forum: PowerShell GUIs
Topic: Form: disable button while scheduled task is running
Replies: 2
Views: 529

Form: disable button while scheduled task is running

Hi, Please advise howto (in a form) disable a button while a scheduled is running. Once the scheduled task is running, a grid will be refreshed in the form and also the button will be enabled again. Idea is that the form is not frozen, but the button can only be pressed again when the scheduled task...
by stevens
Mon Aug 08, 2022 2:32 am
Forum: Former and Future Customers - Questions
Topic: MSI builder: set run of ps1/cmd hidden
Replies: 14
Views: 4998

MSI builder: set run of ps1/cmd hidden

Hi, Simple question: how do I run a ps1 in a project (msi builder) hidden? Found some explanation https://info.sapien.com/index.php/how-to/primalscript-howto/custom-actions-in-primalscript-s-msi-builder => I have some custom actions which run a cmd and a ps1, for both I don't have an option to set i...
by stevens
Thu Aug 04, 2022 12:16 am
Forum: Former and Future Customers - Questions
Topic: Cannot find files in project, files are renamed to temmpoint
Replies: 1
Views: 1307

Cannot find files in project, files are renamed to temmpoint

Hi, When I open my Powershell studio and the project I saved yesterday, it says it doesn't find all my files anymore. When I look in the directory I see these files are renamed with.temppoint. Closed and reopened the project. Stays the same. Renamed the temppoint to normal name. The same result. Ple...
by stevens
Tue Jul 26, 2022 7:39 am
Forum: Former and Future Customers - Questions
Topic: Ps Studio project with folders and subfolders
Replies: 1
Views: 1651

Ps Studio project with folders and subfolders

Hi, How do I copy folders into an MSI using Powershell studio? I can now add files but no folders containing files. F.e. I need to add a folder MyScriptModulesAndFunctions with subfolders MyModules/MyFunctions, then again subfolders into my project/MSI (c:\programfiles\myinstaller\subfolders). Do I ...