Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

3 Questions

$
0
0
Setup Factory is a very easy and rapid application to build a setup in no time, I enjoyed it!
I've got a few questions, please help:

1. When I create a setup file, the 1st time run will install the software, but when software is installed, running the setup MUST cause the modify/remove window to show-up, not installer again!

2. I need to pre-load the install path with a string from registry.
My installer will run both on x86 and 64 platform.
My code does not work on x64:

Application.SetLastError(0);
local cInstallFolder = Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\VST", "VSTPluginsPath", true);
if Application.GetLastError() == 0 then
SessionVar.Set("%AppFolder%", cInstallFolder);
end

3. This does not work, where I am wrong?

INIFile.SetValue("%ApplicationDataFolderCommon%\Co mpany\Product.ini", "General", "BankDir", "%ProgramFilesFolder64%\Product\Content");

I copy a blank file named Product.ini in C:\ProgramData\Company and then want to set the contents to:

[General]
BankDir=C:\\Program Files\\Product\\Content

But my code snippet does not do anything!

Viewing all articles
Browse latest Browse all 2105

Trending Articles