Quantcast
Channel: Flexera Community Forums
Viewing all 4553 articles
Browse latest View live

Advanced UI/Suite Detect Installed MSI Features

$
0
0
Hello,
I've created the suite installation that installs MSI with features. It allows user to select one or more features. Now I am creating major upgrade for this product and I need to upgrade only the features the user previously installed. However since the upgrade have new product code, the suite installer does not detect which features are installed and select all of them for upgrade. Is there any way how to detect the installed features or tell the msi to upgrade only what is installed?

I used technique described here for the original suite: http://blogs.flexerasoftware.com/ins...installer.html

Many thanks,
Marek

Large Patch File

$
0
0
I am working on creating patches for my product but the patches being created are really large.

I have on patch that consists of 2 files being updated (out of 2000 in the product). Yet he msp file is 175 Megabytes. That makes not sense to me. Using a third party tool i verified with a binary comparison that those two files are the only differences.

Any ideas on what I may have set wrong?

Creating a New Dialog Box

$
0
0
I'm doing an InstallScript MSI package, and I need to create a new dialog box. I need a box like the SdShowDlgEdit2, but the second edit box needs the password flag set. I tried setting the flag on the SdShowDlgEdit2, but this box is used for the user/company information, so when I set the password flag, the company field is hidden. I tried cloning the dialog and had the same results, and the code that I wrote to call the dialog box just goes into an infinite loop. It does not seem to stop at the WaitforDialog. How do I make a duplicate of that dialog without having to start from scratch. I'm concerned about if I start from scratch, the skins will stop working. I've had that problem in the past.

Thanks,
Robert M. :confused:

Calling Powershell Script in InstallShield 2012 Spring

$
0
0
I can see there is a provision to call a Powershell Script from the MSI. BUt If I have to pass some argument to the Powershell Script how can I do that?

Something like Test.ps1 -arg1 "param1" -arg2 "param2"

Can we package a CustomConsoleAction as an Installanywhere plug-in.

$
0
0
Hi,

I want to use a CustomConsoleAction in Install tasks of my installer. But we do not have that action listed under Consoles tab in "Add Action" dialog, in Install task.
So I thought of packaging that action as an Installanywhere plug-in, but when I try to execute that it fails saying that the plug-in should extend CustomCodeAction.

Is there any way to package CustomConsoleAction as an InstallAnywhere plug-in??

- Usha.

Initializing engine failed

$
0
0
I have a problem with the installscript engine on a Windows 7 (32-Bit, Home Premium)-machine:
...
Aktion gestartet um 10:15:25: FindRelatedProducts.
Aktion beendet um 10:15:25: FindRelatedProducts. Rückgabewert 1.
MSI (c) (68:74) [10:15:25:139]: Skipping action: Check_NewerProduct (condition is false)
MSI (c) (68:74) [10:15:25:139]: Skipping action: Check_OldProduct (condition is false)
MSI (c) (68:74) [10:15:25:139]: Skipping action: Message_URInstalled (condition is false)
MSI (c) (68:74) [10:15:25:139]: Doing action: Message_NoIsScriptSetProperty
Aktion 10:15:25: Message_NoIsScriptSetProperty.
Aktion gestartet um 10:15:25: Message_NoIsScriptSetProperty.
MSI (c) (68:00) [10:15:25:144]: Invoking remote custom action. DLL: C:\Users\KLEIN&~1\AppData\Local\Temp\MSI2495.tmp, Entrypoint: f10
InstallShield 10:15:25: Running InstallScript function f10
InstallShield 10:15:25: Opening stream of file C:\Users\KLEIN&~1\AppData\Local\Temp\MSI2495.tmp
InstallShield 10:15:25: Extracting support file IsConfig.ini to C:\Users\KLEIN&~1\AppData\Local\Temp\{F388B038-4843-4E53-8F17-F08593A8563D}\IsConfig.ini
InstallShield 10:15:25: Extracted isconfig.ini to C:\Users\KLEIN&~1\AppData\Local\Temp\{F388B038-4843-4E53-8F17-F08593A8563D}\IsConfig.ini
InstallShield 10:15:25: Got '{59B48841-A44F-4CA9-B3B3-85816B1DAC87}' for TempPathGuid from isconfig.ini
InstallShield 10:15:25: Attempting to use temp path 'C:\Users\KLEIN&~1\AppData\Local\Temp\{59B48841-A44F-4CA9-B3B3-85816B1DAC87}'
InstallShield 10:15:25: Using new temp path
InstallShield 10:15:25: Cleaning up temp file C:\Users\KLEIN&~1\AppData\Local\Temp\{F388B038-4843-4E53-8F17-F08593A8563D}\IsConfig.ini
InstallShield 10:15:25: Using temp folder C:\Users\KLEIN&~1\AppData\Local\Temp\{59B48841-A44F-4CA9-B3B3-85816B1DAC87}
InstallShield 10:15:25: Installing engine...
InstallShield 10:15:25: Using product language 1031
InstallShield 10:15:25: Skipping optional support file _isuser_0x0407.dll
InstallShield 10:15:25: Setting script cmdline...
InstallShield 10:15:25: ProductCode is {11EC0CBA-33BB-4954-A4A6-3EB02899B473}
InstallShield 10:15:25: Initializing Engine
CustomAction Message_NoIsScriptSetProperty returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Aktion beendet um 10:15:31: Message_NoIsScriptSetProperty. Rückgabewert 3.
MSI (c) (68:74) [10:15:31:826]: Doing action: SetupCompleteError
Aktion 10:15:31: SetupCompleteError.
Aktion gestartet um 10:15:31: SetupCompleteError.
Aktion 10:15:31: SetupCompleteError. Dialog created
MSI (c) (68:40) [10:15:31:836]: Note: 1: 2731 2: 0

Does anyone have an idea?

How to show version information on Feature selection page in Advanced Suite installer

$
0
0
Hello,

I am carrying a premier edition IS. I want to modify the Feature selection page in Suite installer wizard, where i want to show the currently installed or available version info along with the Feature Name. Is it possible? how can i implement this?

Windows Service Uninstall Leaves Files Behind

$
0
0
I have a Windows Service that is making me extremely mad. It installs just fine, but when I uninstall it, the main executable (.exe) and assemblies don't get uninstalled and the log file states "Removal completed successfully". I've created MSIs for Windows Services before and this is the first time I haven't been able to get the uninstall to work properly.

  • The Windows Service is a .NET 4.0 WCF service, if that matters.
  • Whether I use InstallShield's "Services" section or a ProjectInstaller.cs class in the service itself, it doesn't matter... neither affect the uninstall.
  • I changed the "Shared" property of all the assemblies to "No"... made no difference.
  • The only InstallShield scripts in the MSI run when the MSI installs via the install condition "(Not Installed) OR REINSTALL", so I don't think they are the issue.


Any tips on what I can try to get this service to uninstall cleanly?

Attached is the unistall log, should one of you be so generous as to help figure-out if there's something obvious that I'm missing :o

MyCompanyUninstall.log
Attached Files

File Versioning Rules When Neither Components Has a Key File

$
0
0
I understand that the Windows Installer uses key files to compare the version, date, and language of components and determine whether to update the component on target machine.

My question is that how does the installer determine whether the component needs to be updated if neither components has a key file set?

Another question of mine is that with no key file set to both components, but with a file whose Modified date is later than the Create date on the target computer, does it not install the file? I know that the File Versioning Rules consider Nonversioned Files as User Data so it does not install the file, but with no key files, I wonder how the installer determines whether to install.

Thank you for your times,

Major Upgrade/Downgrade goes wrong

$
0
0
Hi,
I have a Basic MSI project with few components. My main component which holds most of the application files is Dynamically Linked.

Every time i make a new version i Generate a new Product Code and increase the Product Version.
In Upgrades i have a Major Upgrade configured where i have a Upgrade Code in "Products having another Upgrade Code" and in Product Version i have Within a specific range of versions : 0.00.0000 - 100.100.9999.

What i want to accomplish is no matter what version i install either newer or older the new installer uninstalls previous version and installs the new version. I have no shared assemblies.

The problem is that each version installs fine but when installing another one on top of the older one being newer or older doesn't matter the files does not get installed (all the old files get uninstalled). Actually only few files are left behind and those are files that are not dynamically linked. I have read that it might create problems but i have not found a solution for this. Any ideas ? How do i make a clear uninstall / install without all the rules which Windows Installer / Installshield tries to impose.

/mihai

InstallShield crashes WinXp

$
0
0
Hi. I'm new, so sorry for any errors. I downloaded a driver package to solve some " unknown device " issues, and when I start setup.exe, the nVidia logo pops up saying " InstallShield ....." and vanishes. Same thing with another package from a different source, nVidea logo, " InstallShiel ..." then Blip, it's gone. How can I get the InstallShiel wizard to open, do I need some dlls somewhere? I'm runnung WinXp Sp3 Home edition. I'd be really grateful for any help. Marqoz

Question about "PRT_UTL"

$
0
0
Dear intallshield engineers,

I have a question!

- What is PRT_UTL in intallshield?
- How to configure the project to build output PRT_UTL?

Thanks & Best Regards!
Hung

Error on Licence agreement

$
0
0
Hi All,

I am very new to InstallShield and have imported existing MSI which was built in Wise Installation Studio. I am having problem when selecting Licence Agreement to Yes. Please refer to the attached screenshot of the error message. Error is " Unable to find the 'Next' push control required to sequence this dialog. Please sequence this dialog using the Dialogs view in Installation Designer".

Appriciate any help.

Thanks in Advance!

Upendra
Attached Images
 

SQL updater

$
0
0
Dear friends,

In our project initially we install our files and we do database setup.Suppose in future i need to run an sql script which has to be updated over the existing database,how can i achieve this using an updater?Can anyone give your valuable suggestions please??

RegDBCopyKeys problem

$
0
0
I create a funtion to copy keys under HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{2410F92F-D9A0-4967-944C-0AF0AC090A47} to
HKEY_CLASSES_ROOT\CLSID\{2410F92F-D9A0-4967-944C-0AF0AC090A47} but this don't work, do you know why ?


function CopyWordHKeyClassesRootKeys()

NUMBER nRet;

begin

RegDBSetDefaultRoot (HKEY_CLASSES_ROOT);

nRet = RegDBCopyKeys("\\Wow6432Node\\CLSID\\{2410F92F-D9A0-4967-944C-0AF0AC090A47}", "\\CLSID\\{2410F92F-D9A0-4967-944C-0AF0AC090A47}", HKEY_CLASSES_ROOT, HKEY_CLASSES_ROOT);
if (nRet != ISERR_SUCCESS) then
MessageBox ("La copie de la clé CLSID n'a pas fonctionnée.", SEVERE);
else
MessageBox ("La copie de la clé CLSID a fonctionnée.", SEVERE);
endif;

end;

ISDEV : error 125: Unable to load InstallShield Object(s)

$
0
0
I have a Stand-alone-build installshield machine which used to be building correctly but I recently had to uninstall/reinstall due to an expired license. Unfortunately the build now fails with ISDEV error 125. It complains it is unable to load two merge modules. I run the same .ISM on my developer machine without any errors. I've checked the build machine to confirm that the merge modules are in the correct place. The merge module location is specified using the -o option. My build used to work and I don't know how it broke. The install is a InstallScript Project.

Google shows this reference to a possible solution:
"You will need to install the InstallShield 2008 InstallScript Objects setup"
Clearly this is an old post referencing 2008 not 2011 but it did look promising. I searched for this package and it looks like it is no longer available.
Any ideas if this will fix the problem?
Any ideas where to download this file?

When I remove all Merge Modules from the Application Data/Objects group the error goes away. (Not surprising) As soon as I add any merge module, (I used Microsoft common control) the error returns.

I'd open a ticket with Flexera but alas my support has run out.
Help!

How to create more than one File Browse Dialog within the same dialog panel

$
0
0
Hi all,

I had a read for creating File Browse Dialog according to http://helpnet.installshield.com/ins...alog-HowTo.htm
which is great.

However, my problem is I need to create more than one file browse dialog within the same panel. And when I implement the solution as mentioned in the above link, it always set the selected file path into the first editable text field, even I have multiple "browse“ buttons appended after other text fields. And I cannot find the solution to specify the target text field from "FileBrowse.dll"

Please advise.

Thank you.

How to create more than one File Browse Dialog within the same dialog panel

$
0
0
Hi all,

I had a read for how to launching file browse at: http://helpnet.installshield.com/ins...alog-HowTo.htm

But it does not tell me how to create multiple file browse dialog within the same installer wizard panel.

I have tried to create multiple "Browse button" according to the solution in the above link, but doesn't matter which Browse button I pressed, it always set the file path into the first editable text field, even the browse button is appended after other editable fields.

And I had read through the document, I cannot find where to set the argument to specify the text field targeting to.

Please advice.

Thank you.

Error 1402: Could not Open Key - Windows Server 2008 (non R2) 64 Bit System

$
0
0
Hi All,

I have a new BASIC MSI Project.
Its getting installed in all the Operating systems successfully except Windows Server 2008 (non R2) - 64 bit system.

Please find below the MSI Log.

As part of the setup, I'm trying to place the MSCOMCT2.OCX, MSCOMCTL.OCX in the System folder.

The installation Error is happening in "InstallFinalize" Action (writing registry values).

The same setup is getting installed successfully in all the other 32 and 64 bit system.

Please help me in finding out a workaround and fix for the issue.

MSI LOG

MSI (s) (20:8C) [01:15:27:466]: Executing op: RegOpenKey(Root=-2147483646,Key=SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\ActiveX Compatibility\{1906F94F-8256-480A-8CDF-60821592CB4B},,BinaryType=0,)

MSI (s) (20:8C) [01:15:27:466]: Executing op: RegAddValue(Name=Compatibility Flags,Value=#1024,)
WriteRegistryValues: Key: \SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\ActiveX Compatibility\{1906F94F-8256-480A-8CDF-60821592CB4B}, Name: Compatibility Flags, Value: #1024

MSI (s) (20:8C) [01:15:27:466]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE32\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\ActiveX Compatibility\{1906F94F-8256-480A-8CDF-60821592CB4B} 3: 161

Error 1402. Could not open key: HKEY_LOCAL_MACHINE32\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\ActiveX Compatibility\{1906F94F-8256-480A-8CDF-60821592CB4B}. System error 161. Verify that you have sufficient access to that key, or contact your support personnel.

MSI (s) (20:8C) [01:15:34:423]: Product: Lexis Affinity workstation -- Error 1402. Could not open key: HKEY_LOCAL_MACHINE32\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\ActiveX Compatibility\{1906F94F-8256-480A-8CDF-60821592CB4B}. System error 161. Verify that you have sufficient access to that key, or contact your support personnel.

silent install fails

$
0
0
I have an installscript exe. UI installation works fine without any issues. however silent install fails with return code -5 {files does not exist} . While recording the installation, i did encounter any issues. Iss file looks like

[InstallShield Silent]
Version=v7.00
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{9FFD78AC-16E3-4C6B-B8B9-2D739CF3F66D}-DlgOrder]
Dlg0={9FFD78AC-16E3-4C6B-B8B9-2D739CF3F66D}-SdWelcome-0
Count=3
Dlg1={9FFD78AC-16E3-4C6B-B8B9-2D739CF3F66D}-SdAskDestPath-0
Dlg2={9FFD78AC-16E3-4C6B-B8B9-2D739CF3F66D}-SdFinishReboot-0
[{9FFD78AC-16E3-4C6B-B8B9-2D739CF3F66D}-SdWelcome-0]
Result=1
[{9FFD78AC-16E3-4C6B-B8B9-2D739CF3F66D}-SdAskDestPath-0]
szDir=C:\Program Files\.....
Result=1
[Application]
Name=XYZ
Version=2.6.8173.3
Company=XYZ
Lang=0409
[{9FFD78AC-16E3-4C6B-B8B9-2D739CF3F66D}-SdFinishReboot-0]
Result=6
BootOption=3


setup.log has

[InstallShield Silent]
Version=v7.00
File=Log File
[ResponseResult]
ResultCode=-5


Any help would be appreciated.
Viewing all 4553 articles
Browse latest View live