Search found 30 matches

by laned101
Wed Mar 03, 2021 8:03 am
Forum: Former and Future Customers - Questions
Topic: MSI package deployment issues
Replies: 2
Views: 6630

Re: MSI package deployment issues

I have compared the psbiuld files for both and I can see they share the UPGRADEGUID value. So I have resolved this by modifying the value on the new service MSI.
by laned101
Wed Mar 03, 2021 7:49 am
Forum: Former and Future Customers - Questions
Topic: MSI package deployment issues
Replies: 2
Views: 6630

MSI package deployment issues

Product, version and build: Powershell Studio 2019, 5.6.167 Operating system: Windows 10 PowerShell version(s): V5 32-bit version of software? 64 bit I have created two separate MSI packages, which are both different services. I did copy the build settings and modified them to fit the new service. N...
by laned101
Sun Nov 29, 2020 11:47 am
Forum: Former and Future Customers - Questions
Topic: Import-Module ..\moduleFolder\
Replies: 5
Views: 3355

Re: Import-Module ..\moduleFolder\

Ive given you all the code that is relevant `Import-Module ..\Model3\Model3` along with the structure. This works perfectly fine within ISE and Powershell console from the relevant directory, it just doesn't work in PSS.
by laned101
Sun Nov 29, 2020 8:18 am
Forum: Former and Future Customers - Questions
Topic: Import-Module ..\moduleFolder\
Replies: 5
Views: 3355

Re: Import-Module ..\moduleFolder\

Thanks for the response, any idea why it wont let me import using ..\?
by laned101
Fri Nov 27, 2020 11:42 am
Forum: Former and Future Customers - Questions
Topic: Import-Module ..\moduleFolder\
Replies: 5
Views: 3355

Import-Module ..\moduleFolder\

Firstly no idea why this keeps post here (Former and Future Customers - Questions) I have posted this in PowerShell Studio Application Support twice and it somehow ends up here again. Anyway Product: PowerShell Studio 2019 (64 Bit) Build: v5.6.167 OS: Windows 10 Enterprise (64 Bit) Build: v10.0.1776...
by laned101
Wed Nov 18, 2020 5:08 am
Forum: PowerShell
Topic: Windows Service
Replies: 7
Views: 4731

Re: Windows Service

My Service code runs separate from my GUI code, the GUI code is packaged as part of the MSI.

When I uninstall the Application from Add Remove Programs, you'd think it would stop the service then remove it. But not to worry I'll write the logic to do it.
by laned101
Wed Nov 18, 2020 4:51 am
Forum: PowerShell
Topic: Windows Service
Replies: 7
Views: 4731

Re: Windows Service

Yes I noticed it's only when the service is active. I thought it would shutdown as part of the uninstall process? Is this not the case? hmm might be able to add that as a custom action during uninstall.
by laned101
Wed Nov 18, 2020 4:24 am
Forum: PowerShell
Topic: Windows Service
Replies: 7
Views: 4731

Windows Service

I have created a windows service app with powershell and studio. I have included a few WinForm GUIs to help with configuration etc. I have noticed that now when uninstalling the application it doesn't remove the service from the services list. I can't work out why any help would be appreciated.
by laned101
Tue Nov 17, 2020 10:58 am
Forum: PowerShell GUIs
Topic: Windows Tray Application
Replies: 7
Views: 2398

Re: Windows Tray Application

JackMayhoffer wrote: Fri Nov 13, 2020 12:43 pm Thanks, this helped a lot.
You're welcome
by laned101
Tue Nov 17, 2020 10:54 am
Forum: PowerShell
Topic: Custom Actions
Replies: 0
Views: 13345

Custom Actions

Hi, I am trying to work out how to execute custom actions from a dir that is not INSTALLDIR. Specifically, I am building an MSI with various binaries in it. These binaries get moved to a BIN directory within the install directory (via Powershell), but I can not execute the custom actions as it doesn...