Announcement

Collapse
No announcement yet.

packaging a standalone .exe file like twinmotion does

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    packaging a standalone .exe file like twinmotion does

    Hi,
    I am a designer that works almost exclusively with a specific offshore company. (I design floating houses)
    Up to now, apart from drawings, I routinely sent them video presentations of new designs but have recently started experimenting with unreal engine.
    I quickly came to the level of creating convincing archviz games (or presentations) but I only have one problem:
    Unreal packages the game as a folder with an .exe file and three subfolders.
    That is a problem for me for two reasons: the guys in said company are not exactly IT gurus and every time it's a hassle explaining to them that they should extract the files in the same directory etc.moreover, they want to send the presentation to clients who in turn are often e-illiterate as well.
    What I need is a single file that can run the game without needing other folders.
    I was hoping that there is a way to create a self extracting file or -somehow- embed the folders in the .exe file

    any suggestions? this would really help!!!

    #2
    A simple solution is to create a standalone self-extracting .exe using WinRar. Compress your packaged UE4 folder to an archive as normal then go to Tools->Convert archive to SFX
    Hope this helps.

    Comment


      #3
      very interesting this solution, but I did not understand the steps.

      once the project is cooked, and compressed with winrar
      Originally posted by IslandPlaya View Post
      go to Tools->Convert archive to SFX
      where should i go? in winrar I can't find any "tools" tab

      I also have problems each time explaining how to start the project.

      thank you so much


      Daniele Barone
      Freelance 3D Linkedin

      Comment


        #4
        Click image for larger version

Name:	Annotation-20191117-060822.jpg
Views:	89
Size:	37.2 KB
ID:	1687988

        Perhaps only the registered version of WinRar has this option? Idk.
        If you have this option then you will also get Advanced SFX options where you can make your presentation.exe autorun after extraction...

        Click image for larger version

Name:	Annotation-20191117-061633.jpg
Views:	83
Size:	36.5 KB
ID:	1687989

        There are other options in this dialog you may find useful. I think you will be able to set things up to do what you want.

        Click image for larger version

Name:	Annotation-20191117-061753.jpg
Views:	83
Size:	29.0 KB
ID:	1687990

        Comment


          #5
          Thanks a lot!
          Yes there are these options, and I create the .rar file with the self-extractor and leave after the first pass.

          Click image for larger version

Name:	rar_01.JPG
Views:	80
Size:	151.9 KB
ID:	1688034

          Click image for larger version

Name:	rar_02.JPG
Views:	77
Size:	11.9 KB
ID:	1688035

          Click image for larger version

Name:	rar_03.JPG
Views:	78
Size:	82.5 KB
ID:	1688036


          But in the second step I go to put the name of the .exe file that it has to extract on "run after mining" and it makes me dezippare only the folder and the program to open it again remains open.

          Definitely something wrong.


          Click image for larger version

Name:	rar_04.JPG
Views:	78
Size:	185.9 KB
ID:	1688037

          Click image for larger version

Name:	rar_05.JPG
Views:	78
Size:	88.7 KB
ID:	1688038

          Thanks again for the help, this is a very useful thing if I can do it, it saves me a lot of explanations.
          Daniele Barone
          Freelance 3D Linkedin

          Comment


            #6
            You could try ESEMPIO_GIOIELLO\ESEMPIO_GIOIELLO.exe or even ESEMPIO_GIOIELLO\ESEMPIO_GIOIELLO\ESEMPIO_GIOIELLO.exe to run after extraction. It appears you may have nested folders in the archive and it needs the correct relative path I presume.
            Good luck, glad to help.

            Comment


              #7
              Click image for larger version

Name:	Annotation-20191117-100752.jpg
Views:	83
Size:	30.8 KB
ID:	1688049

              These options will make updating an existing install function better.

              Click image for larger version

Name:	Annotation-20191117-100942.jpg
Views:	78
Size:	37.6 KB
ID:	1688050

              You can customise the install dialog here make it look professional.

              Comment


                #8
                Originally posted by IslandPlaya View Post
                You could try ESEMPIO_GIOIELLO\ESEMPIO_GIOIELLO.exe or even ESEMPIO_GIOIELLO\ESEMPIO_GIOIELLO\ESEMPIO_GIOIELLO.exe to run after extraction. It appears you may have nested folders in the archive and it needs the correct relative path I presume.
                Good luck, glad to help.
                nothing, I tried both paths and at the end of the extraction does not automatically start the.exe.
                Daniele Barone
                Freelance 3D Linkedin

                Comment


                  #9
                  I tried packaging a test project and then compressing to a SFX. I did this in one pass by setting the SFX options on creation of the archive. I set the program to run with the correct path.
                  It works! My UE executable runs after extraction.
                  Try opening your created .exe in WinRar... Mine looks like the below.

                  Click image for larger version

Name:	Annotation-20191118-065314.jpg
Views:	78
Size:	68.7 KB
ID:	1688316

                  Comment


                    #10
                    Wonderful! it works! I took another project and I set the path correctly.
                    First I was wrong and put the path.
                    Thank you very much again, it seems a minor thing but it saves you a lot of explanations.
                    Daniele Barone
                    Freelance 3D Linkedin

                    Comment

                    Working...
                    X