# How do I prevent a new window from opening after installing the app?

**URL:** <https://forum.wixstudio.com/t/how-do-i-prevent-a-new-window-from-opening-after-installing-the-app/77809>\
**Category:** Ask the community\
**Tags:** wix-studio, question\
**Created:** [April 23, 2026, 5:29pm UTC](https://forum.wixstudio.com/t/how-do-i-prevent-a-new-window-from-opening-after-installing-the-app/77809 "2026-04-23T17:29:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![devops9sp](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@devops9sp](https://forum.wixstudio.com/u/devops9sp)\
**Post date:** [April 23, 2026, 5:29pm UTC](https://forum.wixstudio.com/t/how-do-i-prevent-a-new-window-from-opening-after-installing-the-app/77809/1 "2026-04-23T17:29:50Z")

</div>

**I’m having trouble with**  
After a user completes the app install process, the postInstallationUrl (redirect callback) is invoked, but does so in a new window, instead of the current window:

 ![Screenshot from 2026-04-24 05-22-39](https://us1.discourse-cdn.com/wix/original/3X/a/d/ada1890ba3261fec063d08e91574d07d2d3f36ea.png)

**Site link**  
Test link: [https://wix.to/b7fOt2I](https://wix.to/b7fOt2I).

**What I’m trying to do**  
Have the redirect be invoked on the same window that we authorized the app install.

**What I’ve tried so far**  
Testing the install from Wix Studio - this doesn’t reproduce the issue exactly, but it does open a new tab instead.
