Change Package Name

  1. Change App Name & Executable

  • Open windows/runner/CMakeLists.txt

  • Find this line: -set(BINARY_NAME "my_flutter_app") Change "my_flutter_app" to your new app name.

  • This will also change the .exe name generated.

  1. Change App ID / Package Family Name

  • Open the Windows Runner project settings in: -windows/runner/main.cpp -windows/runner/Runner.rc

  • In Runner.rc, update: -VALUE "CompanyName", "YourCompany" -VALUE "FileDescription", "Your New App" -VALUE "InternalName", "YourApp" -VALUE "ProductName", "YourApp"

  • This affects the app’s metadata (shown in installer / properties).

  1. Rebuild App Run:

flutter clean

flutter pub get

flutter build windows

Your Windows app will now have the new package ID, name, and executable.

Last updated