Search found 7054 matches

by Alexander Riedel
Tue Oct 22, 2019 11:48 am
Forum: PowerShell Studio
Topic: PowerShell Studio Debugger Not Working
Replies: 1
Views: 19

Re: PowerShell Studio Debugger Not Working

There is an issue specific to V2 that we have recently been made aware of. The issue was introduced by recent changes in the PowerShell engine or in the .NET framework used. We have isolated and already fixed this issue. Just in case someone else is reading this :D At any rate, this does not in any ...
by Alexander Riedel
Mon Oct 21, 2019 8:09 am
Forum: VersionRecall
Topic: Default Integrated Repository to PSStudio
Replies: 3
Views: 99

Re: Default Integrated Repository to PSStudio

It's not really clear what configuration you have here. Can you elaborate maybe we real folder names?
It sounds like you are trying to use nested repositories.
by Alexander Riedel
Fri Oct 18, 2019 9:39 am
Forum: PowerShell Studio
Topic: start-Process doesn't work for executable with dll's
Replies: 1
Views: 156

Re: start-Process doesn't work for executable with dll's

I am not sure what you mean by "can we upload .dll somewhere in Powershell studio?" If your application has dependencies, like a dll for example, you should consider making an MSI for distribution. There you would add the dll and any other needed files. Keep in mind that Start-Process is not a Power...
by Alexander Riedel
Wed Oct 16, 2019 4:06 pm
Forum: PowerShell Studio
Topic: Can I get a Powershell script to execute in MSI file
Replies: 10
Views: 329

Re: Can I get a Powershell script to execute in MSI file

Change it to deferred. Immediately will try to execute the script when the MSI is launched, at which point the script hasn't even been copied yet.
by Alexander Riedel
Wed Oct 16, 2019 2:22 pm
Forum: PowerShell Studio
Topic: Can I get a Powershell script to execute in MSI file
Replies: 10
Views: 329

Re: Can I get a Powershell script to execute in MSI file

This thread has gotten way off track. You originally wanted to use a PowerShell Script as a custom action. "I tried playing around with the Custom actions section to just add an Install Action for my powershell script, but had no luck." That would be the exact location to do that. Can you elaborate ...
by Alexander Riedel
Sat Oct 12, 2019 5:01 pm
Forum: PowerShell Studio
Topic: Using Resolve and include external scripts, how to have a mixture, is it all or nothing?
Replies: 5
Views: 366

Re: Using Resolve and include external scripts, how to have a mixture, is it all or nothing?

I am the one who wrote the packager code to include dot sourced scripts. So I can clearly state that Import-Module is not not resolved during packaging. I would know. :D Generally speaking, in your case, where you want to include a script (.ps1) rather than importing a PowerShell module (.psm1) you ...
by Alexander Riedel
Thu Oct 10, 2019 6:52 pm
Forum: PowerShell Studio
Topic: Write-Ouput not showing result
Replies: 9
Views: 1049

Re: Write-Ouput not showing result

Windows 10 is what we all use, that should make no difference.
What platform, version etc for PowerShell have you selected in the ribbon of PowerShell Studio?
by Alexander Riedel
Thu Oct 10, 2019 6:48 pm
Forum: PowerShell Studio
Topic: Using Resolve and include external scripts, how to have a mixture, is it all or nothing?
Replies: 5
Views: 366

Re: Using Resolve and include external scripts, how to have a mixture, is it all or nothing?

Files loaded with Import-Module are not resolved when packaging as an executable.
Only dot sourced file are resolved during packaging if that option is checked.
by Alexander Riedel
Wed Oct 09, 2019 4:25 pm
Forum: PowerShell Studio
Topic: Cutom Actions File for MSI - run vbs
Replies: 1
Views: 313

Re: Cutom Actions File for MSI - run vbs

[Duplicate post, closed by moderator]
by Alexander Riedel
Wed Oct 09, 2019 10:33 am
Forum: PowerShell Studio
Topic: Cutom Actions File for MSI - run vbs
Replies: 1
Views: 276

Re: Cutom Actions File for MSI - run vbs

The packager has a special provision for powershell files to generate the powershell.exe call needed. For a VBS file you need to add that manually. So what you would specify in file is C:\Windows\System32\WScript.exe Under arguments you specify your script file. You want to use WScript instead of CS...