Wish B4JPacker11 - Add 3 lines and change 1 line in the Inno Setup file by default, maybe???

Peter Simpson

Expert
Licensed User
Longtime User
Good morning Erel,
I think that it would be a good idea to add the following 3 lines into the Inno Setup file under the setup section. I personally add these 3 lines to all new executable setup files for my clients. To me it just makes deploying software to clients look that little bit more professional, especially the OutputBaseFilename and UninstallDisplayIcon options.

B4X:
OutputBaseFilename=Setup {#MyAppName}
UninstallDisplayIcon={app}\{#MyAppExeName}
VersionInfoVersion=1.0.0.0

Even if you don't add these lines to the Inno Setup file automatically, I will always add them manually as it makes for a better experience in my opinion.

By the way I also believe that the following line should also be changed to be this default, but it's not as important to others as it is to myself. If you have more than 1 application then each application should be in its own folder but saved in a main folder under the developers/publisher/companies name, like what Adobe, Microsoft, Anywhere software, myself etc etc etc do with multiple packages.

B4X:
DefaultDirName={pf}\{#MyAppPublisher}\{#MyAppName}

Thank you
 
Last edited:

ivanomonti

Well-Known Member
Licensed User
Longtime User
I can't work anymore and when I installed the new bridget, a computer shut down completely.

I installed java 11
I installed b4j last

but it gives me these errors (my current pc a sufacepro 4)

error compiler:
12 aprile 2020 15:45:17 Termine javafx.css.CssParser

AVVISO: errore CSS durante l'utilizzo del file jar: file: / C: /Users/Surface%20Pro%204/Desktop/B4X/Lavagna/Objects/Lavagna.jar! /Files/dark.css: token imprevisto ';' a 47,25

java.lang.NullPointerException

    at javafx.graphics/com.sun.javafx.sg.prism.NGCanvas$RenderBuf.validate(NGCanvas.java:213)

    at javafx.graphics/com.sun.javafx.sg.prism.NGCanvas.initCanvas(NGCanvas.java:641)

    at javafx.graphics/com.sun.javafx.sg.prism.NGCanvas.renderContent(NGCanvas.java:604)

    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2072)

    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)

    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:270)

    at javafx.graphics/com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:578)

    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2072)

    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)

    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:270)

    at javafx.graphics/com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:578)

    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2072)

    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)

    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:270)

    at javafx.graphics/com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:578)

    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.renderForClip(NGNode.java:2313)

    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.renderRectClip(NGNode.java:2207)

    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.renderClip(NGNode.java:2233)

    at javafx.graphics/com.sun.javafx.sg.prism.CacheFilter.renderNodeToCache(CacheFilter.java:683)

    at javafx.graphics/com.sun.javafx.sg.prism.CacheFilter.render(CacheFilter.java:587)

    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.renderCached(NGNode.java:2377)

    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2063)

    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)

    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:270)

    at javafx.graphics/com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:578)

    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2072)

    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)

    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:270)

    at javafx.graphics/com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:578)

    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2072)

    at javafx.graphics/com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1964)

    at javafx.graphics/com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:479)

    at javafx.graphics/com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:328)

    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:91)

    at java.base / java.util.concurrent.Executors $ RunnableAdapter.call (Executors.java:515)

    at java.base / java.util.concurrent.FutureTask.runAndReset (FutureTask.java:305)

    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)

    at java.base / java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)

    at java.base / java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:628)

    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)

    at java.base / java.lang.Thread.run (Thread.java:834)

java.lang.NullPointerException

    at javafx.graphics/com.sun.javafx.sg.prism.NGCanvas$RenderBuf.validate(NGCanvas.java:213)

    at javafx.graphics/com.sun.javafx.sg.prism.NGCanvas.initCanvas(NGCanvas.java:641)

    at javafx.graphics/com.sun.javafx.sg.prism.NGCanvas.renderForcedContent(NGCanvas.java:625)

    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)

    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)

    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)

    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)

    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)

    at javafx.graphics/com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:330)

    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:91)

    at java.base / java.util.concurrent.Executors $ RunnableAdapter.call (Executors.java:515)

    at java.base / java.util.concurrent.FutureTask.runAndReset (FutureTask.java:305)

    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)

    at java.base / java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)

    at java.base / java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:628)

    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)

    at java.base / java.lang.Thread.run (Thread.java:834)

java.lang.NullPointerException

    at javafx.graphics/com.sun.javafx.sg.prism.NGCanvas$RenderBuf.validate(NGCanvas.java:213)

    at javafx.graphics/com.sun.javafx.sg.prism.NGCanvas.initCanvas(NGCanvas.java:641)

    at javafx.graphics/com.sun.javafx.sg.prism.NGCanvas.renderForcedContent(NGCanvas.java:625)

    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)

    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)

    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)

    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)

    at javafx.graphics/com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:232)

    at javafx.graphics/com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:330)

    at javafx.graphics/com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:91)

    at java.base / java.util.concurrent.Executors $ RunnableAdapter.call (Executors.java:515)

    at java.base / java.util.concurrent.FutureTask.runAndReset (FutureTask.java:305)

    at javafx.graphics/com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)

    at java.base / java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)

    at java.base / java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:628)

    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)

    at java.base / java.lang.Thread.run (Thread.java:834)



Cattura1.JPG


Cattura 3.JPG


message:
B4J Versione: 8.10
Java Versione: 11
Analisi del Codice.    (0.02s)
Building folders structure.    (0.01s)
Compilazione del codice.    (0.09s)
Compilazione del codice di layouts    (0.00s)
Organizzazione Librerie.    (0.00s)
Compilazione del codice Java prodotto.    (0.00s)
Creazione del jar.file    (1.95s)
    File Jar creato: C:\Users\Surface Pro 4\Desktop\B4X\Lavagna\Objects\Lavagna.jar
Applicazione in esecuzione.    (0.00s)
Completato con successo.
 
Last edited:
Top