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

Not understanding an install error

$
0
0
I get this on several files:

[11/13/2014 14:02:00] Success Install archive file: C:\Dillo\OLEAUT32.DLL
[11/13/2014 14:02:05] Error Register COM file: C:\Dillo\OLEAUT32.DLL - System Error # 0 (3)
[11/13/2014 14:02:05] Notice Register COM failure reason: Error 0x80070005: Access is denied.

I am running this on a new W7 virtual machine and as admin.

Help with Signtool.exe Signing

$
0
0
I received a new Code Signing Certificate, and I now need to change my SUF signing to use SignTool.exe rather than SignCode.exe. Is there any way I can use SignTool.exe without putting the PFX Password (/P parameter) in the SUF project? Is there a way to be prompted for it at build time?

Nested table initialization

$
0
0
Hello,

Suppose I want to initialize an array consisting of tables in the Setup Factory script.
Can I write something like:

required_fields = {
{ id = CTRL_EDIT_01, description = "Company Name" },
{ id = CTRL_EDIT_02, description = "First Name" },
{ id = CTRL_EDIT_04, description = "Last Name" }
};

and then, for instance, access an element as:

required_fields[ 2 ].id

?

Thanks

Updating and uninstall registration

$
0
0
When I'm updating an application that I've installed with Setup Factory to a new version, what's the right way to get the "Uninstall" in Windows registered for the new version with the old version removed. As I'm doing it now, my update goes in, applies replacing files as needed, but the result is I have two entries in the Uninstall list, one for the previous and one for the current version.

#THISHASTOBEEASYRIGHT?

Thanks.

Greg

Strange error updating an in-use file

$
0
0
While trying to update an in-use file, I'm getting a "decompression" error.

Code:

Error: c:\Program Files (x86)\xxx\xxx\MyFile.dll  A decompression error has occurred (#2026)
The "Suppress In-Use Notice" box is NOT checked on the file.

The help says about that flag, "If unchecked, a message will appear to warn the user if the file is in use and will ask them to shut down any running programs."

I verified with Process Monitor that the last access to that file, immediately before the error is shown, shows a action of SetDispositionInformationFile with Delete:True and a result of "CANNOT DELETE".

Is this a bug?

can not Copy file to Windows system folder

$
0
0
Hi,
I used file.copy to copy a file to "C:\Windows\System32\drivers" but it did not work.if I changed the path as "D:\" or any others which is not a system folder The file.copy function can work.

File.Copy(SessionVar.Expand("%AppFolder%\\driver\\ net.sys"), SessionVar.Expand("%SystemFolder%\\drivers\\net.sy s"), true, true, true, true, nil);

and I changed method to copy the file.I used a bat file.if I ran the bat file directly.It worked,If I ran the bat file by setup factory it didn't work.

I think user permission causes this the problem .So I used the function
user_info =System.GetUserInfo() to check the permission. And user_info.IsAdmin==ture and user_info.IsVistaAdminLimitedToken==false.I think it means that the user is running with full privileges.

So I do know why the file.copy can not work?

DLL.CallFunction can not work

$
0
0
I used DLL.CallFunction to call a dll which coded by delphi.
But the SUF.exe always cash.

Does setup factory do not support dll wirtten by delphi?

code like this, this "init" function do not need to pass any parameters:
DLL.CallFunction(SessionVar.Expand("%TempLaunchFol der%\\test.dll"), "Init", "", DLL_RETURN_TYPE_INTEGER, DLL_CALL_STDCALL);

Packages: Exclusive Seletion

$
0
0
Hi folks!

I did some research but could not find a solution. I really hope you can help me.

I have a "Selected Packages" dialog in my installation, containing three packages.
How can I figure out which packages is selected (immediately after a selection has been made by the user)?

I want to use this information to uncheck the package again, when the user checks one of the other two packages.

Just a simple exclusive selection.
How can I solve it with my current concept?

Thank you in advance!

move option for folders ???

$
0
0
happy new year,
Unfortunately, I find no option but I'm assuming that's still feasible!

How do I move an entire folder?

C:\ProgramFiles\xxxx\Data\marke\prog to C:\ProgramFiles\xxxx

Uninstaller stop working

$
0
0
Hi,

I'm trying to uninstall our program completely. But uninstaller stop working.

Because our application will create some log files and other files in the application folder in the run time, I try to call Folder.DeleteTree to delete all files and folders at "On Post Uninstall" event. Uninstaller stop working after "On Shut Down" event.

In the end, I found if I delete one specific folder at "On Post Uninstall" event, uninstaller crashed because of trying to delete that folder after "On Shut Down" event. That folder is normal. I don't know why.

Therefore, I tried a workaround.
I enumerate all files and folders at "On Post Uninstall" event and then delete them one by one except that specific folder.
Uninstaller will not crash and program is uninstalled completely.

But there is still one another problem. After "On Shut Down" event, cmd.exe will be launched and not be closed. This will prevent other applications from being uninstalled. It shows that there is some other application still uninstalling.

Is there any suggestion about this?

Thanks

Select Packages

$
0
0
In the select packages part of my setup there's two windows one on the right that handles the descriptions about the packages that changes color with the use custom colors under the style tab under the edit. I would like to know if there's away to change the color of the window that has your packages list in it by default the window is white I would like to change it to black can anyone help with this thank you

Uninstall a printer driver our program previously installed

$
0
0
I am not clear on how to uninstall a previous version of a particular printer driver which was installed in OUR previous version, before we install the new one. Here is the line that installed it in our prior version Post Install section:
nRes = Shell.Execute(SessionVar.Expand("%TempLaunchFolder %\\Setup_bioPDFSetup_9_4_0_1570.exe"), "open", "/NOICONS /PRESERVEDEFAULTPRINTER /PRINTERNAME=\"PDF Printer\" /SILENT", "", SW_SHOWNORMAL, true); error = Application.GetLastError(); if (error ~= 0) then
Dialog.Message("Error", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION); end

Hello

$
0
0
Hi there!
In setup factory there is a file generated by the installer called confirm.txt
That file is supposed to say if the installation was successful or not.
I wonder if there is a possiblity to receive the name of this file as a parameter to the installation file? I need people to be able to choose the name of that file. Can anyone explain how to do that on the lua code? Is that even possible?

Thanks in advance!

~oreniko

Need some code help

$
0
0
Scenario:
I need to check parts of the registry for a installed file (MyApp.exe), if the registry entry exists, then get the exact Path of installation of MyApp.exe also from the registry.
I have code that works perfectly. Here it is
Code:

--Check registry for an MyApp key is there or not (Does key Exist)

X = Registry.DoesKeyExist(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\MyApp");

if X then

Install_Path = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\MyApp", "Path", true);
SessionVar.Set("%AppFolder%",Install_Path);

else
       
end


I released an build to customers that placed the registry entries of installed location in different parts of the registry, so some customers have the location of MyApp.exe installed location in one part of the registry and some customers have MyApp.exe installed location showing in a different registry entry.

That means for my addon packs to work, I have to check registry in multiple locations and based on where the entry is, then set a Path Installed location also from registry.

Here is my non-working code:

Code:

--Check registry for an MyApp key is there or not (Does key Exist)
X = Registry.DoesKeyExist(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\MyApp");
Y = Registry.DoesKeyExist(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\MyCompany\\MyApp");

if X  then

Install_Path = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\MyApp", "Path", true);
SessionVar.Set("%AppFolder%",Install_Path);

else

if Y  then

Install_Path = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\MyCompany\\MyApp", "Path", true);
SessionVar.Set("%AppFolder%",Install_Path);

else
       
end

So if someone could help, that would be great!

thanks
DC

Clickable url link on any screen

$
0
0
Hello guys.
Is there any way to create a clickable links on any screen - especially on "While Installing"? I would like to have something like:

"While waiting for the instllation to complete visit our website http://www.something.com."

Is it possible in SF? Thanks in advance for an answer.

Implementing a new screen

$
0
0
Hey all.
I'm creating an installation and I need some help.
When my installer starts, it also starts a silent installation of an intel SDK.
Usually what happens is that Intel SDK installation completes a few seconds later than my own installation.

I want to implement a dummy progress bar which will be seen before the finish screen and cover some time between my own installation's completion and that other installation. I have a dummy screen I need only some help with the actions lua code to have it appear for 30 seconds or so and then trigger the finish screen.

How do I do that?
Thanks!

~oreniko

Windows 10?

$
0
0
Has anybody tested their installers with the Windows 10 Evaluation Preview?

Uninstall Language

$
0
0
Hello

We have an installer that detects the PC language before install and shows a localised installer.. all good.

However, the uninstall language is either always Spanish or English...

How is the uninstall language chosen and can I control it?

Thanks

Folder Delete in AppData

$
0
0
Hi Guys i am trying to delete a folder in my AppData\Roaming Folder

This is the script i have and the folder as you can see is called RotemNet

What am i doing wrong as the folder does not want to delete.

Thanks


Folder.Delete("%ApplicationDataFolder%\RotemNet");

Detecting High DPI?

$
0
0
I'm evaluating Setup Factory and Visual Update.

Is there a way to detect if the users DPI is larger than 96dpi or 120dpi?

Thanks
Viewing all 2105 articles
Browse latest View live