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

sql script in maintenance mode

$
0
0
HIIII All,
i realy face big problem that i want to run sql script attached to feature during repaire , i check the option run sql script during install but it never fire during repaire

Problem with Uninstalls on 64bit Windows

$
0
0
I am having problem sporadically with uninstalling my program from Windows 7/64bit. Not an issue on other platforms and does not always even show on all Win7/64bit installations (like my test machine).

Two customers I am dealing with right now are having this issue on a consistent basis and has occurred between builds of my application.

The project is a Installshield 12 Pro sp2, basic MSI type with no custom scripts. UAC is off. The program installation is cached to it's own folder under Windows...

When the user (with admin privileges) opens Programs and Features and clicks on my application entry to uninstall, the following message is displayed;

Name:  1.png
Views: 3
Size:  19.5 KB

There are a couple of methods I have found to uninstall the application;

1) Going to the microsoft website http://support.microsoft.com/mats/pr...ninstall/en-us and running the FIXIT application, which allows me to uninstall, or
2) I can run the command line program uninstallstring that I read from the Windows\uninstall node of the registry, which will run MSIEXEC /I{MYGUID} and properly uninstall.

What would cause this error to appear?

Can anyone tell me what the sequence of events is when someone clicks on an app in Programs and Features to uninstall?

I know the process is passed from InstallShield to the Windows Installer but what happens in between?

Any help is appreciated!
Attached Images
 

How to open Pro project in the InstallShield Express?

$
0
0
Hello,

I run IS 2014 Express and try to open my old project created with IS 2009 Pro. I expect that my old project will be converted to a new format but I get a message that the project is non-Express and could not be open with IS Express.
Please help me to understand do I have another way to work with my project other that starting from scratch.

Thanks.

Installation Over the top problems!

$
0
0
Hello everyone.
I would like to be able to make an installation over the top which to me (correct me if I'm wrong) means I'd like to be able to install a program several time without going through the Uninstall/Modify/Repair Dialog or through the "Do you want to uninstall this program" messageBox.

I got to find a first solution by launching the program through a batch file with Setup.exe /V" REINSTALLMODE=voums REINSTALL=ALL"

1. I would be nice to be able to embed those parameters so that I haven't got to use a batch file but can directly launch the setup.exe file.
2. the major issue now is that I am not able to uninstall the program since it doesn't appear anymore in the uninstall part of the control panel. And the setup.exe /x option is not working

So basically if I use this option to make over the top installations i can't uninstall the program.

Thank you for your kind help
Patrick

ISDEV : fatal error -6040: Internal build error

$
0
0
We have one build machine that seems to always get this error when building one our IS2012 Chained install project: ISDEV : fatal error -6040: Internal build error.

None of our other build machines seems to have this issue and therefore I am trying to figure out why this one machine will always fail to build this one chained install project?

We do have an other Chained install project that will build on this machine so it is really frustrating as to why the one project does fail?

Now all our Chained install project are multi language installs, the one that fails just happens to have more languages than the other one, but I do not know if that would be a reason or not.

So just want to know what causes -6040 internal build errors and what I could possibly look for that may be causing the build failures?

Thanks for any insights into this issue.

Open WPF application on the installled machine without Admin rights

$
0
0
Hi I have created a WPF application and created a .exe file from InstallSheild 2013 Limited edition.
There is no issues with installing the application, but I get a Admin rights Popup whenever I try to open the application on my machine.
Can i avoid this? Anybody without admin rights also should be able to open the application on his machine.
I'm installing the app in C:\Program Files (x86)\AppName.. to this location.

Plz Advice..

IIS "Content Source Path"

$
0
0
I am having a bit of trouble with the "Content Source Path" in IIS Web Site setup. It works fine with [IISROOTFOLDER], but I want to specify a different folder on the target machine. So I select the proper directory from the drop down list (one that is in the Directory table). That does not work. FWIW, that folder is on the D drive. The way I made it work is to put it back to [IISROOTFOLDER] and use a registry hack that my predecessor came up with (below). I do the registry hack and then the install and it works as I want. What do I need to do to avoid having to use the registry hack?
Thanks.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp]
"HOLD_PathWWWRoot"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,\
00,69,00,76,00,65,00,25,00,5c,00,69,00,6e,00,65,00,74,00,70,00,75,00,62,00,\
5c,00,77,00,77,00,77,00,72,00,6f,00,6f,00,74,00,00,00
"PathWWWRoot"="D:\\MyFolder"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\InetStp]
"HOLD_PathWWWRoot"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,\
00,69,00,76,00,65,00,25,00,5c,00,69,00,6e,00,65,00,74,00,70,00,75,00,62,00,\
5c,00,77,00,77,00,77,00,72,00,6f,00,6f,00,74,00,00,00
"PathWWWRoot"="D:\\MyFolder"

Remote Install on Windows Server 2012 R2

$
0
0
Hi,

I am running InstallShield 2013 installers remotely on Windows Server 2012 R2 machines and they all work great and MSI log files are generated if the user name that I am using remotely is also logged in on the remote machines. If the user name that I am using remotely is not logged in on the remote machines then the installs do not run and they do not generate MSI log files. The user is administrator. This is not a problem running InstallShield 2012 installers on Windows Server 2012 Standard using the same user that is also administrator on those machines. Any ideas?

Thanks,
Joe

Fatal-error-6002-Error-while-attempting-to-run-the-custom-build-setup-for-objects

$
0
0
I am intermittently getting the error -6002 Error-while-attempting-to-run-the-custom-build-setup-for-objects in a IS-MSI project. I have found various solution in this forum and they all say to eliminate Access but I am not using Access in my project. Any hint about how to solve this problem?
Thank you in advance for any help since I am stuck for this at the moment
Patrick

Bug when Importing Reg File...

$
0
0
I have to import four different REG Files into the project whenever I do a new build (compile/build source). If I create a Key Set with the same name as the REG File none of the Registry information contained within that file are actually saved/imported. If I create a key and rename it ANYTHING else then the Registry info is imported.

Steps to Reproduce:
  1. Create Reg File using the "/RegFile" flag in Regasm (take note of file name)
  2. Open InstallShield (InstallScript project)
  3. System Configuration>Registry
  4. Under the "Destination computer's Registry view" right-click on Destination Computer
  5. Select "Create New Registry Set"
  6. Rename new Set to match the name of the Reg File (minus the *.dll portion)
  7. Import said Reg File
  8. Open Set (no settings will have been imported)
  9. Delete Set
  10. Create new Set
  11. Rename new Set to ANYTHING EXCEPT said Reg File
  12. Import Reg File
  13. Open Set (All Registry information have been imported)


I'm not sure is this only effects InstallScript projects or not. I didn't notice any mention of this in the Help File but I read the sections fast so this may have been noted.

Also note that I have to do this because InstallScript doesn't handle registering .Net files. I have a mixture of unmanaged code-spaced files and a few managed code-spaced projects and either I missed a setting or changed one but I have to import reg files in order for those self-registering .Net files to work correctly on a clean system. /rant

Installer fails to install uninstaller

$
0
0
I've recently updated to IA2014 from 2012, and am having a serious issue with the installation failing to install the uninstaller:
Code:

Install Uninstaller:      ProductName(Install All Uninstaller Components)
                          Status: ERROR
                          Additional Notes: ERROR - Error installing uninstaller: java.lang.NullPointerException

The console log shows the following:
Code:

java.lang.NullPointerException
        at com.zerog.ia.installer.actions.InstallUninstaller.bv(Unknown Source)
        at com.zerog.ia.installer.actions.InstallUninstaller.installSelf(Unknown Source)
        at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
        at com.zerog.ia.installer.actions.InstallDirectory.install(Unknown Source)
        at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
        at com.zerog.ia.installer.GhostDirectory.install(Unknown Source)
        at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
        at com.zerog.ia.installer.Installer.install(Unknown Source)
        at com.zerog.ia.installer.actions.InstallProgressAction.ae(Unknown Source)
        at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(Unknown Source)

After installation, the uninstaller folder contains the zerog registry and the uninstaller executable, but uninstaller.jar is 0 bytes in size. When I try to launch the uninstaller executable, I get:
Code:

Could not find the main class: com.zerog.lax.LAX. Program will exit.
This happens on all platforms I've tried. Any help would be greatly appreciated!

Updating XML Configuration file based on a radio button selection

$
0
0
Hi,

I am new to InstallShield.

We have an existing product and now adding a dialogue for integration with Active Directory.
So user will be presented with two radio buttons. One with Active Directory (default as provided in Property Manager) and other is no AD.

Our application already has one XML Configuration file.

So if user is installing our application for the first time, we will show this dialogue to select the option.

If user selects no Active Directory, then I want to update the configuration file with a string.

I tried by adding a replacement in Text File Changes but I am not sure on how to check with a condition in the dialogue.

Like, I can update a property declared in Property Manager in the dialogue but I don't know how to do it based on the radio button selection.

Please can you help me on this?

Thanks,
Raj

Return error code from failed msi to vbscript

$
0
0
I have a parent msi installer where I call a vbscript that calls a silent install of a child msi. Both msi installers are written by me...

The vbscript looks like:
call objShell.Run(strPath,0,true) where strpath = msiexec.exe /i "child.msi" /qn /norestart /L*v <path to logfile>.

If the child msi fails at some point, it rollbacks and the parent process continues... without informing the user that something went wrong.

Is there a possibility to pass a returncode from the child msi to the calling vbscript (and from the vbscript to the calling parent msi)?
Is some property is setted when during a silent install a rollback has been initiated or something else...?

Thanks!

Windows PATH Limits

$
0
0
Hi,

I apologize up front because this is not really an IA question, even though I am dealing with it in an IA installer. I searched the web for answers but got conflicting info (at least I thought so). And I haven't received an answer from my MSDN post so I thought I'd give the IA forum a try.

We have an installer that needs to add some directories to the Windows system environment PATH variable. What is the maximum number of characters PATH can contain? Do I need to care? Assuming I have a HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment registry key with PATH value that contains 1500 characters, running setx MYPATH "%PATH%" in a Win7 command prompt warns me the data being saved is truncated to 1024 characters. Yet there is no issue setting that same MYPATH key in the installer using a Set System Environment Variable or Set Windows Registry action. I guess, because we're dealing directly with the registry?

If I do need to worry about the PATH length, how do I handle an embedded environment variable, say %HOME% (C:\my\home\directory) in my custom code? When I determine the length of PATH, do I use HOME's 20-character expanded string or do I use the 6-character string %HOME%?

-Jeff

Add product/file via FlexNet Operations On-Demand Web Services API documentation

$
0
0
Hello there,

Is there any documentation from flexera which we can refer to add product , add file through On-Demand Web Services API (SWSAPI)

Would be great if someone can share it.. Thanks for your help.

Krishnakumar

InstallShield 2011, Romanian setup

$
0
0
Hello,

The Romanian setup created with InstallShield 2011 does not identify drive space or size requirements. Both values are displayed as zero.

How can I resolve this?

Thanks,
Mike

getting away from wisescript

$
0
0
OK so WiseScript was from Wise Package Studio bought by Altiris then sold to Symantec now Flexera...


so long story short... if I want to get away from WiseScript as it is not being updated... what is there equivalent I can start learning? So many apps in the InstallShield 2014 and AdminStudio 2014 I cant figure it out...

example I want do to this stuff...

https://community.flexerasoftware.co...cript&p=485719

Preparing To Install

$
0
0
Hi all,

I am new to Installanywhere, can some one help me to remove or edit the initial popup which says
Name:  installanywhere1.png
Views: 3
Size:  28.0 KB

"Installanywhere Is Preparing to Install".

Also i a want to remove installanywhere logo on each screen at the bottom.
Name:  installanywhere2.png
Views: 3
Size:  103.3 KB

Please Help.

Thank you.
Attached Images
  

Detecting 32-bit as an installation requirement in a basic-msi project

$
0
0
Hi everybody!
The following was copied from my stackoverflow post:

----------------------------------------------------------------------------
I have a solution with several dlls that are 64-bit or 32-bit specific that I want to deploy with an installer. I have two basic msi projects in InstallShield 2012, one for 32 bit systems and the other for 64 bit systems. I also have a requirement that the 64-bit installer won't work on 32-bit systems, and the other way around.

Restricting the 64-bit installer to 64 bit systems is easy, but I haven't been able to identify being in a 32-bit system.

Here are the solutions I already tried:

Checking the windows installer properties:

  • NOTintel64 (does not work as it refers to the processor and not the OS)
  • VersionNT64=whatever (does not work as the value is undefined for 32-bit systems)


Also, I'm aware of the environment variable PROCESSOR_ARCHITECTURE which holds x86 for 32-bit OS but I couldn't find a way to read it on a basic-msi project.
----------------------------------------------------------------------------

If you have a solution, feel free to post it in the stackoverflow post as well, to get your well earned points. :)

Building a Visual Studio created installation from another PC

$
0
0
Hello,

I've created a Basic MSI project from Visual Studio (using a Premier license), and have some Visual Studio dependencies (i.e. I'm using primary outputs of some projects).
I'd like to build the installation from another PC, which doesn't have an Installshield license.
I read about using Standalone Build and IsCmdBld.exe, but it can't build the MSI because of the visual studio dependencies.

How can it be done?

Thanks!
Viewing all 4553 articles
Browse latest View live