Questions tagged [close-application]
37 questions
1
vote
1 answer
Use RestartManager during Uninstall (Inno Setup)
In Inno Setup, one can use CloseApplication to enable the Windows restart manager, and check for running instances. This, however, does not apply to the uninstallation. The setup removes all files that are not in use, and shows a message along the…

SaschaSchaefer
- 149
- 1
- 9
1
vote
2 answers
WiX CloseApplication for exe and dll
I've created a WiX setup project based on the article WiX 3 Tutorial: Understanding main WXS and WXI file mainly because it gives the WiX needed to do an application shutdown.
However, I'm puzzled by the outcome. Here's the situation:
We have an…

Serge Desmedt
- 128
- 1
- 7
1
vote
3 answers
Close app in onBackPressed()'s MainActivity
I want my app to close when I press the back button on MainActivity. Currently when I press it on MainActivity, it returns to previous activity.

samuelez
- 91
- 1
- 1
- 4
1
vote
1 answer
Blackberry java app running in background
I would like to exit the application with 2 different ways:
- When key "escape" pressed, the application exit but still run in background.
- When the user select "Close" in the menu to close the application totally. This is already working as it is…

Dachmt
- 2,079
- 4
- 29
- 45
1
vote
2 answers
WIX: The following application should be closed before continuing the install
my application have tray icon. when i uninstall it
i have window with the proposal to close the "my_tray_app.exe" - with text: ("The following application should be closed before continuing the install")
i'm use wix "CloseApplication Element (Util…

Space Rabbit
- 141
- 2
- 11
1
vote
2 answers
Android application not exiting
I have an activity from where on click of back button, the app should display home page, I have written a method for exiting the page as :
private void exitQuiz() {
Intent intent = new Intent(getApplicationContext(), HomeActivity.class);
…

Sid
- 582
- 3
- 7
- 28
1
vote
1 answer
Scheduling element after registry values are written
I want my installer to close all IExplorer instances and then perform an install. To close IE I need to add a registry key so all tabs will be closed without a dialog and then I use to close the IE instances.
Both…

user1283002
- 391
- 1
- 4
- 12
0
votes
1 answer
Android Studio- How To Delete Recent App List Programmatically After Application Closed
when I close my application I want to remove it from the "recent app list" also in android.
I created an empty project and activity.
Here my main XML file:
0
votes
1 answer
Using APPLICATION.QUIT in MS-Word VBA but Application Immediately Re-opens
Desired Behavior:
When the below code completes, MS Word is supposed to close and remain closed.
Problem:
The problem is that the MS Word application re-starts and opens "Instructions.docx," which has the macro-button that points to the below VBA…

Steve R.
- 31
- 7
0
votes
1 answer
Need Appium code to relanch app in between test case
I am new to automation(looking for help),
My scenario is - I need to restart the app and have to check the last data inserted should be auto saved
driver.closeApp is not working ( i already tried)
And I don't want to use this code in app launch…

Puneet Jain
- 11
- 1
- 4
0
votes
1 answer
NSTimer and closing app while in background
I've encountered problem with closing the app while in background.
When working in the background, tapping 2x and swiping the app to close it, the app doesn't call the applicationWillTerminate:(UIApplication *)application, but goes to…

izik461
- 1,131
- 12
- 32
0
votes
1 answer
Android finish() StartActivityForResult not working
I have a problem in Android with the finish() function:
I am trying to obtain the following behavior: when the user lunches the application for the first time, I want to start a wizard procedure. I am using a PageViewer with different fragmets. I…

Andrea Ialenti
- 4,380
- 2
- 19
- 22
0
votes
0 answers
ShellExecuteEx : get parent PID and close it
I run a child app using ShellExecuteEx command under windows. Now I want the child app to send a wm_close command to the parent app (the caller of this app) . Is that possible ?

Maverick
- 1,105
- 12
- 41
0
votes
1 answer
qt creator version 5.3: quitting whole application if one mainwindow is closed
I am trying to use the QCloseEvent to close all my dialogs and quit the application when the main window closes. I have read the documentation and looked at many examples and this is what I've come up with so far:
In my .h file:
protected:
void…

theChef613
- 127
- 1
- 9
0
votes
4 answers
I need to exit from my android application using the exit button in mainactivity
I have created two activities namely MainActivity and registration. MainActivity is used for logging in, where the user enters his name and password. MainActivity has three buttons
Login Button
Register Button
Exit Button.
When I press the…

njnjnj
- 978
- 4
- 23
- 58