TheJumpCloud / support

Public scripts and examples for managing JumpCloud managed systems and service endpoints
267 stars 152 forks source link

NB-11998: Windows App Launches After Install #573

Closed aassafjc closed 3 months ago

aassafjc commented 5 months ago

Issues

Dependencies

What does this solve?

Windows app opening on launch after specifying $LaunchPasswordManager to $false

Is there anything particularly tricky?

Yes, the testing

How should this be tested?

1- Download the JumpCloud Password Manager v2.2.189 .exe from AWS 2- Create the below .ps1 script on your machine

$LaunchPasswordManager = $false
$installerTempLocation = "<PATH_TO_DOWNLOADED_APP_EXE>"
if ($LaunchPasswordManager -eq $false) {
    $env:QUIT_PWM_AFTER_INITIAL_INSTALL="true"
}
. $installerTempLocation

3- Replace <PATH_TO_DOWNLOADED_APP_EXE> with the path of the downloaded file 4- Run the script => The app should not launch after installation 5- Now open a new terminal tab (this is important) 6- Modify $LaunchPasswordManager = $false to $LaunchPasswordManager = $true 7- Run the script => The app should launch after installation

Screenshots

N/A

jworkmanjc commented 5 months ago

@aassafjc do we need to wait until https://github.com/jc-pny/desktop-app-v2/pull/679 is merged to review and approve this?

aassafjc commented 5 months ago

@aassafjc do we need to wait until jc-pny/desktop-app-v2#679 is merged to review and approve this?

@jworkmanjc No need, this needs to be reviewed in parallel; The version specified in the description is available on AWS.

kmaranionjc commented 4 months ago

@aassafjc I don't have access to the AWS S3 bucket

aassafjc commented 4 months ago

@aassafjc I don't have access to the AWS S3 bucket

Make sure you access the role specified in this screenshot before accessing the link provided in the PR descrition.

Screenshot 2024-05-08 at 10 54 01 AM
jworkmanjc commented 4 months ago

@aassafjc, looks like you are good to merge this back in!