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

What is lua5.1.dll?

$
0
0
This DLL (lua5.1.dll) is now appearing in my installations.

What's it for and is it necessary?

The reason I ask is that a web search doesn't return any useful information, just a lot of scam posts about fixing DLL errors and removing malware.

Pull Apart (parse) UNC Path

$
0
0
Im working on creating a utility that will be run across a UNC path. What i am looking to do is to have Setup Factory read in the full path, and parse out the server name and share.

So far i have declared a variable of path that utilizes the %SourceFolder% variable to find out where the EXE is running from.

So for example, if the path is \\servername\sharename\foldername, i would like to be able to set the following variables:

server = servername
share = sharename
folder = foldername

I did some searching on the forums and the web and couldnt find any topics relevant to this, nor did i find anything in the help.

I would appreciate it if someone can point me in the right direction on what action i would need to use to accomplish this or perhaps a small snippet of sample code.

Thanks!

File.Run() behaviour

$
0
0
Hi All,

When you call the File.Run("myProgram.exe") during OnPostInstall the Setup window is minimized and the myProgram.exe takes the focus.

How do I change this behavior, hiding myProgram.exe and leaving the Setup window in place with a StatusDlg.SetMessage("Running myProgam.exe ...") ?

Thanks,

Alberto

First Setup Factory use, running into some problems...

$
0
0
Hey folks!

This is the first installer/uninstaller I've authored using SF, and I've got a bit of a problem; perhaps someone here would be kind enough to steer me in the right direction.

Setup works just fine; it creates a single folder under %ProgramFilesFolder%, and dumps some files into it, one of which is an ActiveX component. No problem.

During the lifetime of the application, it creates some working files and sub-folders under %AppFolder% that need to go away; if they don't, they interfere with the uninstaller's deletion of %AppFolder%. I have no way to know their names, so what I'm doing is scheduling all files in %AppFolder% including subfolders using File.Find recursively and including folders, for deletion at reboot with File.DeleteOnReboot(). My problem is that the files are going away, but not the sub-folders, and hence neither is %AppFolder%, even on reboot.

What am I doing wrong, here? I'll be glad to post script here, but I figured I'd wait until someone asked to see it. ;)

Thanks in advance,
DDoutelMS

Delete Temp folders at end of install

$
0
0
Let me start by saying yes, I have thoroughly read the help files.
My question:
When the installer gets to the end of the installation, I go back and clean up some files. So far, everything I have done works except one. I am wondering if I need to change the permissions on the folders first because they will not delete.

Heres is a piece of my code:
Folder.Delete(_TempFolder.."\\_ir_sf_temp_0");
DlgProgressBar.SetPos(CTRL_PROGRESS_BAR_01, 20);
DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_ 02, {Text="Cleaning up installation files..."});
Folder.Delete(_TempFolder.."\\_ir_sf_temp_1");
DlgProgressBar.SetPos(CTRL_PROGRESS_BAR_01, 22);
DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_ 02, {Text="Cleaning up installation files..."});
-----------------------------
For some reason, this piece isn't working but it isn't any different than the others I am deleting with. I have this in a progress bar screen, under After Install and after two other processes in the On Start tab.
I've tried:
Folder.Delete(_TempFolder.."\\_ir_sf_temp_1");
Folder.Delete("%TempFolder%"\\_ir_sf_temp_1");
Folder.Delete(SessionVar.Expand("%TempFolder%"\\_i r_sf_temp_1"));
Folder.Delete("SessionVar.Expand("%TempFolder%"\\_ ir_sf_temp_1")");
None of them actually delete the folder so could it be permissions on the Temp folder?

In the uninstaller, I have this and it works great:
Folder.Delete("%AppFolder%"\\foldername");
File.Delete("%TempFolder%\\reader.exe");

Not sure what it is.
Mark

irsetup.exe not signed?

$
0
0
After signing the required files in my archive and then the output exe, running it on Win7 trigged an unknown UAC prompt. Why is irsetup.exe coming up as unknown publisher?

Attachment 12089
Attached Images

Net Framework 4 client full install in China

$
0
0
Hello,
I have company reps traveling in China, there it is difficult for company workers to download anything from the internet. I have a Visual Basic application that uses the .Net framework 4 client. They can't download this because of lack of internet access.
The only plug-in you have on your site is the .net framework 4.0 client web install which for the reasons above will not work for me. Is there any way you can add the .net framework 4 client full installer without the web? I looked at modifying your standard .net 4 (non client) installer but this looks difficult to modify. There is so much involved with detection that I am afraid of missing a detail that could make it not work right. This is a urgent need of mine and I would be very appreciative if you could help.

Registered Copyright symbol shows up as question mark

$
0
0
Someone in our company decided that the titles of the install pages needed to have the copyright symbol (R). This is fine - it is just that half the time I build the kit and install it - the copyright symbol shows up as a question mark in the install. Perhaps I am doing something wrong. Perhaps SUF9 is doing something wrong?

Any ideas?

HTTP.GetFileSize always returns > 0

$
0
0
Using HTTP.GetFileSize I am always getting a return value > 0 even if the file does not exist or even if I use a bogus URL.

Here is the command:

n = HTTP.GetFileSize(myURL, MODE_BINARY, 10, 80, nil, nil, nil);

In addition, HTTP.GetHTTPErrorInfo() returns zero.

Is this a bug in SUF, or am I using it incorrectly? I am using SUF 9.1.0.0.

Thanks.

Detect previous version and uninstall it?

$
0
0
Hello!

I am using SF9.1 and I am wondering, if I could easily detect a previous installed version of my setup and uninstall it.

Main problem I have is:
I add a shortcut to the START menu of windows. But if I install the setup a second time into a different folder, the shortcut in START won't get updated - it still points to the first installation.

To avoid this, I want to automatically uninstall the previous version.

Any ideas?

Thank you!

Ok, I'll bite; need some help.

$
0
0
Registry.GetValue() is giving me fits; I need a simple value out of the registry, and I've tried two routes to get it, both fail.

I have these session variables defined (%ChromeInstallDir% and %ChromeInstallDirWOW64%), with the values "Software\Microsoft\Windows\CurrentVersion\Uninsta ll\Google Chrome" and "Software\Wow6432Node\Microsoft\Windows\CurrentVer sion\Uninstall\Google Chrome", respectively.

I tried WOW64's Wow64.RegistryGetValue() and had no better success. I'm using the following code:

Code:

function GetChromeExePath()

        local sChromeExePath = "";
        local sKey = "";
       
        if (System.Is64BitOS) then
                sKey = SessionVar.Expand( "%ChromeUninstallKeyWOW64%");
                Dialog.Message( "", sKey );
                sChromeExePath = Registry.GetValue( 0, SessionVar.Expand("%ChromeUninstallKeyWOW64%"), "InstallLocation" );
                Dialog.Message( "", sChromeExePath );
        else
                sKey = SessionVar.Expand( "%ChromeUninstallKey%");
                Dialog.Message( "", sKey );
                sChromeExePath = Registry.GetValue( 0, SessionVar.Expand("%ChromeUninstallKey%"), "InstallLocation" );
                Dialog.Message( "", sChromeExePath );               
        end
       
        return sChromeExePath;
end

I'm looking in the right place on both types of system, and no matter what I do, sChomeExePath comes back with 0 length, i.e. it wasn't found.

What am I doing wrong?

Thanks in advance,
DDoutelMS

Setup Screen Question?

$
0
0
Hey guys,

I know I can change the caption, visibility and enabled state of buttons on the wizard screens, all through the Setup Factory interface. What I need to do is to show only a "Finish" button on the After Install screen, but disabling and hiding the other buttons leaves the "Finish" button just to the right of center of the screen, rather than nicely aligned with the right side. Is there a way to accomplish this?

Thanks in advance!
DDoutelMS

How to handle variables with value "NIL" during runtime?

$
0
0
Hi

I have a variable with a value "nil", I cannot check this by using simple:
if (sMyUninstallInfo[1] == nil) then

Is there a correct way to check this?

Preparing to do our first Real-World Setup Factory Installer, and...

$
0
0
...I have a battery of questions, none of which are necessarily of a programming nature, but rather of a Setup Factory behavioral nature. So if you knowledgeable folks will kindly indulge me...?
  1. On Install/Uninstall Error: docs state that we can "handle" setup errors in the range of 120-130 and 140-148; does this mean that no other errors are reported in this event?
  2. What is the Setup Factory behavior on an install/uninstall error? Does it abort at this point? The reason I ask is that we need to log installation/uninstallation results back to a server.
  3. In the event of an installation error, does Setup Factory roll-back, insofaras that is possible before shutting down? If so, where would it be best for us to rollback registry keys we've already created, and shouldn't remain in the event of an installation failure?

Many thanks, folks!
DDoutelMS

Problem with setup for Wow64 plugin

$
0
0
Hi Ulrich,

I bought Setup Factory 9 this afternoon, so that I could get set up at home the same way I'm set up at work. I'm finding that the installer for the Wow64 plugin is failing to detect the Setup Factory installation folder on my Win7-64 system; the list comes up blank. I had no problems with it it work.

Thanks,
DDoutelMS

Trend Micro reports possible_movly

$
0
0
It seems that Trend Micro are at it again with their false positives.

All of our installers created using SUF9 are now being flagged as virus "possible_movly".

Easiest way to force (simulate) an installation failure?

$
0
0
Title says it all; what's the easiest way to force a setup failure for testing purposes in a Setup Factory 9 installer?

Thanks, guys!
DDoutelMS

Running uninstall.exe from command line results in error

$
0
0
For our product, uninstalling from Control Panel Add/Remove works great. However, if I run the uninstall.exe from a command line, I get an error.

Invalid start mode: archive filename

Can anyone explain what's happening here and how to fix it? I want our users to be able to uninstall outside of Control Panel.

Thanks in advance.

Question re: Design-time constants?

$
0
0
Gents,

I need to grab and save the installer build date. I've tried it 3 ways, and SUF doesn't seem to like it in any of them:

dt = #DATE#
dt = "\"" .. #DATE# .. "\""
dt = "#DATE#"

What is the appropriate way to use this?

Thanks in advance!
DDoutelMS

Get Setup executable name/location programmatically?

$
0
0
I need to get the File Version of the setup executable specified in Build Settings=>Setup Filename, at runtime. Is there a way to get the name and location of this file in script? I tried using _CommandLineArgs[1], but this turns out to be a full path to irsetup.exe, not my own installer .exe.

Thanks in advance,
DDoutelMS
Viewing all 2105 articles
Browse latest View live