cm:DeleteUserData

Asked by Pamela Hocker on 2017-07-25

I've created a powershell script to install Stellarium 0.16. However, when the program is uninstalling the "cm:DeleteUserData" box pops up. I can i fix it as unattend uninstall?

Question information

Language:
English Edit question
Status:
Solved
For:
Stellarium Edit question
Assignee:
No assignee Edit question
Solved by:
Alexander Wolf
Solved:
2017-07-27
Last query:
2017-07-27
Last reply:
2017-07-27
Alexander Wolf (alexwolf) said : #1

Can you fix it as unattended uninstall or not - depend from you and your tasks. Are you wrote a powershell script to install Stellarium on many computers, like classroom?

Pamela Hocker (pmhocker) said : #2

Hello Alexander,
Thank you for responding to issue. Here's coding I'm using to uninstall Stellarium with Powershell : ## Removing Stellarium
        Remove-Item -Path 'C:\Program Files\Stellarium\Data*'
        Remove-Item -Path 'C:\Users\*\AppData\Local\stellarium'
        Remove-ITem -Path 'C:\Users\*\AppData\Roaming\Stellarium'
     Execute-Process -Path 'C:\Program Files\Stellarium\unins000.exe' -Parameters '/SUPPRESSMSGBOXES /silent'
Everything is remove, but box pops up stating "cm:DeleteUserData Do you want to remove the data Yes or No"
The installation of Stellarium silent install works fine.

Do you know where this lives in the program?

Thank you,

Pamela Hocker

Instructional TechnologyAssociate
Information Technology
208 Combs Classroom Building
Eastern Kentucky University
(859)622-8363

IT @ EKU will NEVER request passwords or other personal information via email.  Messages requesting such information are fraudulent and should be deleted.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Alexander Wolf
Sent: Wednesday, July 26, 2017 2:35 AM
To: Hocker, Pamela <email address hidden>
Subject: Re: [Question #653297]: cm:DeleteUserData

Your question #653297 on Stellarium changed:
https://answers.launchpad.net/stellarium/+question/653297

    Status: Open => Needs information

Alexander Wolf requested more information:
Can you fix it as unattended uninstall or not - depend from you and your tasks. Are you wrote a powershell script to install Stellarium on many computers, like classroom?

--
To answer this request for more information, you can either reply to this email or enter your reply at the following page:
https://answers.launchpad.net/stellarium/+question/653297

You received this question notification because you asked the question.

Alexander Wolf (alexwolf) said : #3

Aha! 5 message boxes are not suppressible in InnoSetup scripts, include any message box displayed by [Code] support function MsgBox. Sorry, but cm:DeleteUserData block is implemented though [Code] section.

Alexander Wolf (alexwolf) said : #4

I can try to change the properties of MsgBox to SuppressibleMsgBox =)

Pamela Hocker (pmhocker) said : #5

Okay, thank you Alexander. I failed to mention. I work in the Information Technology Department at Eastern Kentucky University. This program is used in our Physics and Astronomy Department. They have requested this software application in their student computer labs this fall.
We are currently using Powershell wrapper to create script for MDT image and SCCM.

Thank you,

Pamela Hocker

Instructional TechnologyAssociate
Information Technology
208 Combs Classroom Building
Eastern Kentucky University
(859)622-8363

IT @ EKU will NEVER request passwords or other personal information via email.  Messages requesting such information are fraudulent and should be deleted.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Alexander Wolf
Sent: Wednesday, July 26, 2017 10:04 AM
To: Hocker, Pamela <email address hidden>
Subject: Re: [Question #653297]: cm:DeleteUserData

Your question #653297 on Stellarium changed:
https://answers.launchpad.net/stellarium/+question/653297

Alexander Wolf proposed the following answer:
I can try to change the properties of MsgBox to SuppressibleMsgBox =)

--
If this answers your question, please go to the following page to let us know that it is solved:
https://answers.launchpad.net/stellarium/+question/653297/+confirm?answer_id=3

If you still need help, you can reply to this email or go to the following page to enter your feedback:
https://answers.launchpad.net/stellarium/+question/653297

You received this question notification because you asked the question.

Alexander Wolf (alexwolf) said : #6

Please check version 0.90.0.9695: https://launchpad.net/stellarium/trunk/0.90.0

Pamela Hocker (pmhocker) said : #7

Hello Alexander,
It worked!!! I was able to eliminate some of the lines of code. It worked perfectly.

Thank you, thank you, thank you so much!!!

Have a great day!!!

Pamela Hocker

Instructional TechnologyAssociate
Information Technology
208 Combs Classroom Building
Eastern Kentucky University
(859)622-8363

IT @ EKU will NEVER request passwords or other personal information via email.  Messages requesting such information are fraudulent and should be deleted.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Alexander Wolf
Sent: Wednesday, July 26, 2017 12:44 PM
To: Hocker, Pamela <email address hidden>
Subject: Re: [Question #653297]: cm:DeleteUserData

Your question #653297 on Stellarium changed:
https://answers.launchpad.net/stellarium/+question/653297

    Status: Open => Answered

Alexander Wolf proposed the following answer:
Please check version 0.90.0.9695:
https://launchpad.net/stellarium/trunk/0.90.0

--
If this answers your question, please go to the following page to let us know that it is solved:
https://answers.launchpad.net/stellarium/+question/653297/+confirm?answer_id=5

If you still need help, you can reply to this email or go to the following page to enter your feedback:
https://answers.launchpad.net/stellarium/+question/653297

You received this question notification because you asked the question.

Best Alexander Wolf (alexwolf) said : #8

OK. Please mark this question as 'Solved' :)

Good luck!

Pamela Hocker (pmhocker) said : #9

Thanks Alexander Wolf, that solved my question.