# Install\_code on yourself

**URL:** <https://forum.dfinity.org/t/install-code-on-yourself/19950>\
**Category:** Developers\
**Created:** [May 13, 2023, 2:37am UTC](https://forum.dfinity.org/t/install-code-on-yourself/19950 "2023-05-13T02:37:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lastmjs](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/lastmjs/32/3406_2.png) [@lastmjs](https://forum.dfinity.org/u/lastmjs)\
**Post date:** [May 13, 2023, 2:37am UTC](https://forum.dfinity.org/t/install-code-on-yourself/19950/1 "2023-05-13T02:37:19Z")

</div>

I will probably try this in the morning, but curious if you can call install\_code from a canister on that very same canister.

If possible this would be a more elegant way to overcome the Wasm binary limit when using an intermediate canister to deploy, rather than spinning up a new canister.

So is this possible?

---

<div class="post-metadata">

**Author:** ![lastmjs](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/lastmjs/32/3406_2.png) [@lastmjs](https://forum.dfinity.org/u/lastmjs)\
**Post date:** [May 13, 2023, 3:35am UTC](https://forum.dfinity.org/t/install-code-on-yourself/19950/2 "2023-05-13T03:35:12Z")

</div>

I can confirm that this works, though it seems that the management\_canister cross-canister call will not return properly, because by the time the callback needs to be called the binary has been swapped out:

Here’s the error on the call:

```auto
 test install code failed Error: Call was rejected:
  Request ID: ac554f907515de6d3df2287106350bf933511aa6489ba4aca66c8628de3b3a43
  Reject code: 5
  Reject text: Canister rrkah-fqaaa-aaaaa-aaaaq-cai requested to invoke a non-existent Wasm function 2307 from table 0

call_on_cleanup also failed:

Canister rrkah-fqaaa-aaaaa-aaaaq-cai requested to invoke a non-existent Wasm function 2308 from table 0

```
