View Single Post
Old 01-07-2017, 02:33
Chayan Manna's Avatar
Chayan Manna Chayan Manna is offline
Registered User
Join Date: Jun 2016
Location: India
Posts: 82
Thanks: 89
Thanked 112 Times in 37 Posts
Chayan Manna is on a distinguished road
This Problem was not there till the update 1. But After update 2 & 3 it appears.
The thing is that there is no "botva2.dll", "Dark.png" or "Light.png" & "Setup1.jpg" in the "Uninstall" folder. So when installer uninstalls it can't call the functions of botva2.dll & also can't use the resources like "Dark.png", "Setup1.jpg" and gives run-time error.

So the Solve is, you must add those files such as they copy automatically in "Uninstall" folder at end of installation.

Add these 4 lines in "Files" section of the script:
Source: Resources\botva2.dll; DestDir: {app}\Uninstall; Attribs: hidden system;
Source: Resources\Dark.png; DestDir: {app}\Uninstall; Attribs: hidden system;
Source: Resources\Light.png; DestDir: {app}\Uninstall; Attribs: hidden system;
Source: Graphics\Images\Setup1.jpg; DestDir: {app}\Uninstall; Attribs: hidden system;

You can get help from the update1 script.
Reply With Quote
The Following User Says Thank You to Chayan Manna For This Useful Post:
78372 (01-07-2017)