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

"Access is denied" on an .ini file

$
0
0
Hi,

my setup includes an .ini file to be installed on a windows 8; after installation, I try to modify this .ini and when saving, I get an "Access is denied"; if I go the securities properties of this file, "Everyone" with "Full control" is not present ! how can I solve that to give full control on this file and more over to give full control on the parent directory (I recall : on Windows 8)

PS: I have tried the following found somewhere on the net :

Code:

Folder.SetAttributes( SessionVar.Expand("%AppFolder%"), SID_EVERYBODY, SET_ACCESS, ALL_PERMISSIONS, SUB_CONTAINERS_AND_OBJECTS_INHERIT);
but I get this error message while installing :

Code:

On Post Install, Line 1 : attempt to call field 'SetAttributes' (a nil value)

Stack Traceback

...

thanks in advance,
sincerely,
Domi.

Registry Key Name with spaces in it...

$
0
0
I have a registry key whose name is "SereneScreen Marine Aquarium Lite_is1"; It's an uninstall key, which I need to access. I am using the Wow64 plugin, and getting a "the specified sub key does not exist." error.

I've tried a variety of SessionVar.Expand statements, like this:
SessionVar.Expand("%ProductARPRegPath%").."\\"..Se ssionVar.Expand( "\"%ProductARPKeyName%\"" )

with and without extra quotes; can someone tell me how I need to piece this together to get at this key?

Thanks in advance!
DDoutelMS

Sql Server 2008 R2 password requirements

$
0
0
We've built an installer that includes the Sql Server 2008 R2 dependency. It's worked fine on some machines. But in our testing, we've run into one machine where it fails with the following message:
The specified sa password does not meet strong password requirements.
AIUI, the sa password that is being used to create the database is specified within your Sql Server 2008 R2 dependency. I'm not sure why this policy is being enforced on some user machines and not on others, but we need an install that will work on every machine we try it on, and not require that the end user mess about with configuring password requirements prior to install.

Is this something that others have run into before? Is there a recommended way of handling it?

First contact with SF9, it's the right thing to do?

$
0
0
Hi! this is my first contact with Setup Factoy, i'm trying to create a draft version installer with Setup Factory trial, I wonder if this is the correct way to perform a check based on previously read a record written by a previous version of it to see if the version installed is above, equal or superior to that petende install.
I'm trying to do it this way and it seems to work but not if it is the right way. At the stage of Actions -> On Startup I use this ...

Code:

valor = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\FAD\\ACNTV", "Version", false);

if valor == "" then
        -- Nothing
else
        if valor == "09" then
        result = Dialog.Message("Notice", "Version already install in this PC", MB_OK, MB_ICONEXCLAMATION, MB_DEFBUTTON1);
        Application.Exit();
        else
                if valor < "09" then
                        result = Dialog.Message("Notice", "There is already a version installed on this computer.", MB_OK, MB_ICONEXCLAMATION, MB_DEFBUTTON1);
                        Application.Exit();
                else
                        if valor > "09" then
                        result = Dialog.Message("Notice", "There is already a higher version installed on this computer.", MB_OK, MB_ICONEXCLAMATION, MB_DEFBUTTON1);
                        Application.Exit();
                        end
                end
        end
end

And in the Actions -> On Post Install i use this...

Code:

Registry.CreateKey(HKEY_LOCAL_MACHINE, "Software\\FAD\\ACNTV");
Registry.SetValue(HKEY_LOCAL_MACHINE, "Software\\FAD\\ACNTV", "Version", "09", REG_SZ);

Comment I would appreciate your views on this to see if I am on track.
From already thank you very much!

Is it possible to invoke .suf dynamically to create a setup file

$
0
0
I am using setup factory 9

I would like to automatically open .suf file and change product version dynamically, probably via command line.

Can this be done or we can only achieve it through a manual process?

Any help would be greatly appreciated.

Disable button programmatically and validate email in form

$
0
0
Is it possible in a User Information page validate a Edit Fields for a valid email for example with regex and enable te "Next" button previously disable programmaticaly?

with something like...
\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b

thanks in advance

How to you call and install .ini file for drivers

$
0
0
I need some help on how to call and run .ini files for drivers an example will be very greatfull

Remove shortcut icon on desktop / windows 8

$
0
0
Hi,

I place an icon (to an exe) on the desktop on my windows 8. Shortcuts/Locations desktop & Stat menu are checked; in advanced/Uninstall, nothing is checked but when I uninstall the application (thru control panel) on a 'fresh' windows 8 (virtual pc); the icon is not removed !

any idea ?
thanks in advance,
Domi.

Trying Setup Factory 9

$
0
0
I Started Trying SF9 as i could not Create an Installer in AMS with Multiple Disc Extracting Function.
however i Found 2 Problems
1.When I Create a Registry Key in HKEY_LOCAL_MACHINE "Software\\My Application"
it is created instead in HKEY_LOCAL_MACHINE "Software\\Wow6432Node\\My Application"
Code used:
Code:

Registry.CreateKey(HKEY_LOCAL_MACHINE, "Software\\My Application");
Registry.SetValue(HKEY_LOCAL_MACHINE, "Software\\My Application", "MyValue", "My Data", REG_SZ);

Well I Use a 64bit Windows 7 System but i should be able to choose where to Create The Key in Wow6432 Node or not.

2.My Second Problem is Compression, SF9 use 7zip LZMA Compression (the reason im Actually Trying SF9), so i tried it and found its way less efficient than the actual 7zip (v9.20).
i Tied Compressing Many Random Files in my HDD with 7zip and Setup Factory 9 (Total Size 17.8GB) Settings used in Both Programs:
7Zip: LZMA, 512MB Dictionary, 32word, 2Threads
SF9: LZMA High, 512MB Dictionary, 32word, 2Threads
Results:
7Zip: 4.31GB
SF9: 6.68GB
I tried everything with LZMA2 on Both Programs and Got Exact Same Results.

This one is More Important for me Than The Registry Problem so Please Anyone Can Tell how to Make SF9 as Efficient as 7zip as It Actually use 7Zip Compression.
Because not only Deploying Installers if am Getting SF9 i may use it as a Fancy Hard Drive to DVD Backup Tool :)

Another minor thing, when i use
Code:

Application.SetInstallLanguage(12, 1);
i have to click next for the language to Change to French is there a way to Change the Language Immediately on the same Page ? (im using radio buttons to choose the Language.) i want the Launguage to Change as soon i click the Radio Button.
Thanks.

error on lage multi volume Installs ?

$
0
0
in the help file it say
Code:

Note: If you are generating a multi-segment install (not Web (Single File)), you must use the /W command line option if you want the setup to wait for return (Web (Single File) installs always wait for return). Generally you shouldn't wait for return on very large multi-segment installs as memory errors may occur.
what does this mean ? what is wait for return ? what is muti segment install ? dont want error to happen :huh

How to use Screen.Jump?

$
0
0
I'm sure this is something very simple, but I can't seem to get Screen.Jump to work. The Help File syntax is:

Screen.Jump (string ScreenName)

I assume that by ScreenName they mean the Screen ID in the designer? In any case, I want to jump to the PreLoad section of the current screen. I expect that when calling Screen.Jump it will go to the Preload section of the target screen? But the jump does not seem to be happening.

Am I missing something?

Thanks.

Mysql

$
0
0
Can someone help me how to install Mysql quietly and configure it automaticly?

LZMA Decompression

$
0
0
well LZMA Compression/Decompression in Integrated in Setup Factory 9 but how to use it with the Scripts ? i cant find it.

How set this Task Scheduler Actions

$
0
0
Code:

if not TaskScheduler.DoesJobExist("Mytask") then
  -- schedule a silent update check at logon for my application
  -- the updater is best set to "silent until update is available"
TaskScheduler.CreateJob("System", "(ignored)", "ONLOGON", 0, "Mytask", SessionVar.Expand("%ApplicationDataFolderCommon%\\TrueUpdateClient.exe"), "/sc monthly /d 1 /ru "System"");
  error = Application.GetLastError();
  if (error ~= 0) then
    Dialog.Message("Error", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION);
  else
    Dialog.Message("Info", "Task was created.", MB_OK, MB_ICONINFORMATION);
  end
end

it does not run when system logs on who can fix this please

Temp File necessary ?

$
0
0
Is The a Way To Prevent SF from Writing to the user temp folder the exe then executing it from there ?
and also tamping my executable with my info (esecially the file description) just to find that after a few second of executing (it show ok in the first 3 secs then the Proccess dissapear) my installer proccess change from what i named/Describe it to irsetup with description setup application to continue with installation :(

Silent install with SerialNumber validation?

$
0
0
Friends: my clients want silent installs, but also serial number validation. Failure would abort the installation with no message to user required. The standard silent install /S: does not appear to validate serial numbers (SerialNumber). Any suggestions how to do it?

Error During Code Signing

$
0
0
I am getting the following error during the build of my Setup Factory 9 project.
I have added code signing into the project.
I gave it the path to SignTool.exe, the URL to my timestamp, the certificate filename and the /p "mypassword" in the "other arguements" box.

signing (32) attempt 3 retrying.
Error 3023: Failed writing setup size to archive prior to code signing (32).

What does that error mean?

Thanks

How to check OS installed drive letter settings own setup XML file

$
0
0
My defaults XML file is
<?xml version="1.0" encoding="UTF-8"?>
<installerDefaults pathToAllUsers="C:\ProgramData\mycompany">
<databaseConnector>
<localDatabasePath>..\example.db3</localDatabasePath>
</databaseConnector>
<defaultLocales>
<installerDefaultLocale>en-US</installerDefaultLocale>
</defaultLocales>
</installerDefaults>

This highlited value is change drive letter with OS installed letter

local x = String.SplitPath(_SystemFolder).Drive)
If x == "C:" then
XML.SetValue("installerDefaults", "pathToAllUsers="C:\ProgramData\mycompany", false);
elseif x == "D:" then
XML.SetValue("installerDefaults", "pathToAllUsers="D:\ProgramData\mycompany", false);
elseif x == "E:" then
XML.SetValue("installerDefaults", "pathToAllUsers="E:\ProgramData\mycompany", false);
else

end

this is correct

DLL.CallFunction problem

$
0
0
I want to call the function 'SetThreadExecutionState' from kernel32 for prevent standby o hibernation system.

The call to kernel32 function is the following, but without a positive result, the systema enters standby

DLL.CallFunction("kernel32.dll", "SetThreadExecutionState","\"".."ES_CONTINUOUS or ES_SYSTEM_REQUIRED or ES_DISPLAY_REQUIRED".."\"", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL);

"Collect launch user information" doesn't works for uninstall process

$
0
0
Hello to everyone,
I have a setup compiled and distributed with SF9.1 that runs on this scenario :
Windows 8 Pro 64bit with two accounts :
  • Tester (standard user)
  • Developer (administrator user)

Now, I'm testing this setup logged as standard user.

When I execute uninstall process (from installed programs list) SessionVar %LaunchUserMyDocumentsFolder% return "C:\Users\Developer\Documents" instead "C:\Users\Tester\Documents".

The problem is that I'm installing my program in '%LaunchUserMyDocumentsFolder%\\%ProductName%' so when I execute uninstall, the process fails to load WOW64 plugin stored by the install process in "C:\Users\Tester\Documents\%ProductName%\Uninstall".

I don't know why but the uninstall process search WOW64 plugin in "C:\Users\Developer\Documents\%ProductName%\Uninstall" (administrator user) instead "C:\Users\Tester\Documents\%ProductName%\Uninstall" (launch user).

Any ideas ?
Viewing all 2105 articles
Browse latest View live


Latest Images