Search found 14 matches
- Tue Nov 29, 2022 9:25 pm
- Forum: PowerShell Studio
- Topic: Crash on run!
- Replies: 2
- Views: 7323
Crash on run!
To help you better we need some information from you. *** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. *** Product, version and build: Powershell Studio ...
- Fri Jun 24, 2022 7:02 pm
- Forum: PowerShell
- Topic: Install Powershell Runtime during MSI install
- Replies: 7
- Views: 7379
Re: Install Powershell Runtime during MSI install
My apologies for the delayed response! I am running it against a different machine now, that doesn't have Powershell 7 installed. The MSI is not installing the Powershell 7.2.2 runtime, and I get the following error: Powershell Issue.PNG I'm not sure how to enable MSI logging (or know where they are...
- Wed Jun 15, 2022 3:38 pm
- Forum: PowerShell
- Topic: Install Powershell Runtime during MSI install
- Replies: 7
- Views: 7379
Re: Install Powershell Runtime during MSI install
According to your screenshot you try to or are installing the 7.2.2 runtime. The error message indicates that you packaged your application for 7.2.4 These two do not go together. Either package for 7.2.4 and install that particular runtime or, use 7.2.2 for packaging and runtime. Because of .NET d...
- Tue Jun 14, 2022 7:56 pm
- Forum: PowerShell
- Topic: Runs in shell but not as exe?
- Replies: 0
- Views: 15881
Runs in shell but not as exe?
I've been pulling my hair out over this one! I have a chunk of code: $UserADObject = Get-ADUser $UserID -properties * $UserADObject.memberof | ForEach-Object { $Group = Get-ADGroup $_ Remove-ADGroupMember -Identity $Group.name -Members $UserID -Confirm:$False } $MemberList | ForEach-Object { $Group ...
- Tue Jun 14, 2022 7:45 pm
- Forum: PowerShell
- Topic: Install Powershell Runtime during MSI install
- Replies: 7
- Views: 7379
Re: Install Powershell Runtime during MSI install
I get the following error:
The MSI is not installing the runtime, but if I manually install the runtime it works just fine.- Tue Jun 07, 2022 8:10 pm
- Forum: PowerShell
- Topic: Install Powershell Runtime during MSI install
- Replies: 7
- Views: 7379
Install Powershell Runtime during MSI install
Ok, I've stumped myself yet again.
I have the correct Powershell runtime for installing my project. How do I tell the MSI to also install the Powershell Runtime during execution?
I tried using Custom Actions, but I'm afraid that didn't do the trick. What am I doing wrong here?
I have the correct Powershell runtime for installing my project. How do I tell the MSI to also install the Powershell Runtime during execution?
I tried using Custom Actions, but I'm afraid that didn't do the trick. What am I doing wrong here?
- Sun May 29, 2022 5:58 pm
- Forum: PowerShell
- Topic: Issues installing on non-development workstation
- Replies: 2
- Views: 1881
Re: Issues installing on non-development workstation
Thank you so much!
I had downloaded the 7.2.2 runtime, and selected the wrong one!
I had downloaded the 7.2.2 runtime, and selected the wrong one!
- Sat May 28, 2022 9:25 pm
- Forum: PowerShell
- Topic: Issues installing on non-development workstation
- Replies: 2
- Views: 1881
Issues installing on non-development workstation
Hello! I have a project that I've built out as an MSI, but I can only get it to work on my workstation. I get the following error box: Powershell Issue.PNG I've tried installing the dependency listed (.NET 6.0), and Powershell 7 is installed on the station that isn't working. The script Engine I hav...
- Sat May 28, 2022 8:54 pm
- Forum: PowerShell
- Topic: Module failing to import
- Replies: 1
- Views: 1534
Re: Module failing to import
Fixed by removing module and placing functions in startup.pss
- Sun May 22, 2022 3:47 pm
- Forum: PowerShell
- Topic: Module failing to import
- Replies: 1
- Views: 1534
Module failing to import
I have a project that has been built and installed via a MSI. When running in Powershell studio, the program can access and use a custom module I created, but when I run the installed program I get the resulting error: Import-Module: Line | 76 | Import-Module .\Common\UserToolsFunctions.psm1 | ~~~~~...