View Single Post
  #10  
Old 24-02-2021, 14:15
Proxson's Avatar
Proxson Proxson is offline
Registered User
 
Join Date: Nov 2017
Location: Croatia
Posts: 45
Thanks: 34
Thanked 26 Times in 19 Posts
Proxson is on a distinguished road
Hi guys,

I'm having problems with the latest release. The last working one was CIU 3.0.0.1.b3. It's about the shortcuts. The installer by default installs one on the desktop and one in the
Start menu --> Programs. This is OK but both are targeting the uninstall.exe ! I've fixed the desktop shortcut by enabling the custom shortcuts at the end of Setup.ini with
correct target input. Now the problem is that one in the Start menu. I have tried all constants but to no avail. Any help is appreciated.

{group}
{userprograms}
{commonprograms}
{userstartmenu}
{commonstartmenu}

Example:

Code:
Shortcut1={group}\Amnesia Rebirth; Description:Amnesia Rebirth; Destination:{app}\AmnesiaRebirth.exe; Destination64:{app}\AmnesiaRebirth.exe; WorkDir:{app}\; WorkDir64:{app}; IconFile:{app}\AmnesiaRebirth.exe; IconIndex:0;
Edit: Here is a string in the script that points to the Tomb Raider Steam website. No problem, but it shows under the app/uninstall description even if a new installer is created.
Is this a leftover made by mistake ?

Code:
RegWriteStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\' + ProductCode, 'URLInfoAbout', 'http://store.steampowered.com/app/500370/');


Edit 2: Here is my customized installer. I've removed the Compressor folder to reduce the size cuz my upload speed sux donkey bollox.
Btw, AmnesiaRebirth.exe is clean, no viruses. The compiled installer is in the Output folder.

Edit 3: oops, I forgot to include the Output folder in the attached file. It's uploaded again.

Edit 4: Ok, managed to add the shortcut to the Start Menu ->

Code:
Shortcut2={commonprograms}\Amnesia Rebirth\Play Amnesia Rebirth; Destination:{app}\AmnesiaRebirth.exe; WorkDir:{app}\; IconFile:{app}\AmnesiaRebirth.exe; IconIndex:0;
Anyways, @Cesar m8, please give a tip, where should I look to change Amnesia Rebirth into Uninstall Amnesia Rebirth in the Start Menu. <-- Forget about it. Problem solved.

I know, I'm a pain in da ass.

Last edited by Proxson; 25-02-2021 at 13:15.
Reply With Quote