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

My WPF app exe is created, but doesn't do anything when running.

$
0
0
My install shield project says it's completed everything ok in the log, some warnings, no errors.
When I run the exe it creates, it says it installs it and launches it. But when it runs, i don't see it anywhere and it looks like a background process or something. All the DLLs seem to be in there.
I created a very simple WPF with telerik controls and when I compiled and ran that with the same settings it worked ok.
Now I did notice differences in the install folder
I have this in my solution folder
MySetupVDI\Express\SingleImage\DiskImages\DISK1
and under here I only have setup.exe

Now, on the one that worked, I have a lot more files including an MSI:
Setup1\Setup1\Express\DVD-5\DiskImages\DISK1

I have a DVD-5 vs this singleImage. I also have an MSI and other files?
What did I do wrong?

This is the last part of my log file:

Resolving strings...
Language English (United States) built
Building .cab files...
Data1.cab built
Files built
Media table successfully built
Setup.exe created
Automatic update notification disabled
Express\SingleImage - 0 error(s), 13 warning(s)

Issues with RegDBKetExist (some guid) returning -1

$
0
0
Hello Everyone,

I have been trying to remove a program within an InstallScript project. Currently I look for the GUID within HKEY_LOCAL_MACHINE, but every time I send a key that contains a GUID RegDBKeyExist returns -1.
Here is the code I have tried, I checked that the function would return a 1 by looking for "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall"

Has anyone else run into this issue with an InstallScript project in InstallShield 2013 professional SP1?

Code:

//doesn't work
//registry_key = @old_reg_key;
//registry_key = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{b0454189-c155-4f7b-a98d-dcc772213c6b}";
//registry_key = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{b0454189-c155-4f7b-a98d-dcc772213c6b}\\";
//registry_key = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{B0454189-C155-4F7B-A98D-DCC772213C6B}";

//HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A2122A9C-A699-4365-ADF8-68FEAC125D61} this was for reference to make sure the key was right
registry_key = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{A2122A9C-A699-4365-ADF8-68FEAC125D61}";



//does work
//registry_key = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall";

nSize = -1;
RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE);
root_key = RegDBGetDefaultRoot();
result = RegDBKeyExist(registry_key);

Installscript default OnBegin code

$
0
0
I am new to installscript and have a few questions. There is not a OnBegin function in my setup.rul file.
Is there default code for OnBegin or do I create it myself? I do not see anywhere in the IDE where I can see OnBegin.

I hope this makes sense.

Setting an environment variable to a property

$
0
0
Hello, I am trying to set an environment variable value to a property value that I can pass to the MSI. What is the propper syntax? I have created the property ETI_LICENSE and set the environment value to [ETI_LICENSE].
I then am and passing ETI_LICENSE="1111@server1" in my command msiexec command.

My problem is the resulting env var is [ETI_LICENSE], NOT 1111@server1

AdminStudio Suite 2013 R2 evaluation setup issues

$
0
0
Hi,

I have been tasked to evaluate AdminStudio Suite 2013 R2 at my work for application packaging purposes.

I have been having issues setting up the application catalogue side of things. The database administrator here assures me that she has setup the database to the specs I provided as per the requirements doco.

I am using Windows Authentication to connect to the database instance she has provided (my administrator credentials - which is essentially like having local admin rights on each PC).

Whenever I try to create a new application catalogue I get this error - as attached.

I can connect to the database instance successfully when creating an ODBC connection.

Any information would be greatly appreciated.

Thanks

Allira
Attached Images
 

How Do I Get Result From Bat File in CA?

$
0
0
Suppose I execute a bat file from a CA in a Basic MSI project.
Either by executing the Bat file as a CA or by executing it from an InstallScript CA.
How do I access the exit code returned (EXIT /B -1... for example) by the bat file?
Looks to me like the result for LaunchApp or LaunchAppAndWait is only the result for launching.
Thanks!

Only one primary output gets shared dll

$
0
0
Hello,

I have a problem with Installshiel 2013,
My setup project install five programs in differents folder
-> Folder 1
-> Folder 2
-> Folder 3
-> Folder 4
-> Folder 5

If programs in folder 1, 2 and 3 reference the same dll (test.dll), the file test.dll will only be deploy in Folder 1 (not folder 2 nor foplder 3).
So when I try to run the program in Folder 2, it tell me that the file test.dll is missing...

How can I solved that ? How can we force dll to be copied to each folders ?

It's a critical issue for us

Thanks in advance

Change icon

$
0
0
Hi,

Is there any way to change the icon shown in the attached image.

Thanks,
CinVVL
Attached Images
 

Microsoft Office PIA PRQ fails to install

$
0
0
I'm finding the PIA I eventually downloaded yesterday fails to install. On inspection of the prq file it has:

<file LocalFile=".\Microsoft Ofiice 2010 PIA\o2010pia.msi" CheckSum="90813463E6E078DCDCFF02A880161670" FileSize="0,8358912"></file>

The actual size of o2010pia.msi is 8,364,032. So I wonder if the prq has the wrong checksum also?

Furthermore, I was wondering why .NET 3.5 was a prerequisite. The readme with the PIA says:
Quote:

System Requirements
Minimum system requirements to install the Office 2010 Primary Interop Assemblies are:
1 .NET Framework 2.0 or higher
So why does installshield think .NET 3.5 is required?

SUITE INSTALL: .NET 3.5 install fails on XP sp3

$
0
0
I have a suite package that I am trying to test the install on Windows XP sp3

My log file states the following:
2-18-2014[11:23:33 AM]: Launching EXE as elevated process
2-18-2014[11:24:06 AM]: Timed out waiting for proxy to respond
2-18-2014[11:24:06 AM]: Could not obtain proxy handler for launching elevated EXE parcel
2-18-2014[11:24:06 AM]: Windows feature install result status: 0x800700e9
2-18-2014[11:24:06 AM]: Failed installing Windows features for parcel 'Amazing Charts Installer', error 0x800700e9

running the command I have in the install from a CMD prompt using the same helper.exe and dotNetFx35setup.exe will work.

Configuration:
Transaction:
Microsoft .Net Framework 3.5 SP1 (Web Download) <-- imported from InstallShield's 2013 PRQ file
Target: Helper.exe
EXE Command Line: /p dotNetFx35setup.exe /l 1033 /v "/q /norestart"
EXE Silent Command Line: same as above
Exit Behavior: Ask whether to continue the setup
Reboot Request: Prompt, then exist or reboot the machine
Reboot Codes: 1641, 3010

Now is another thing that concerns me:
1. I have staged in my setup Windows Installer 4.5 for Windows XP SP2 and later (x86) - However this does not seem to have been installed. It is not a transactional package because transactions require Windows Installer 4.5 first.
I have this package sequenced well before the transactions but it seems like the transactions execute first. I cannot see in the log file where it attempts to execute the packages that are not sequenced within a transaction.
The file is staged properly.
Actually I think this is related to it trying to install windows features first. I have sequenced the .NET35 feature 'NetFx3' so that this feature is enabled properly on systems like Server 2008 R2, Windows 8, and Windows Server 2012. However I think it is trying to install on Windows XP as well and failing. NOTE that I am noticing this as I am crafting this post and reviewing the debuglog from the suite package.

I definitely require the windows feature option for these other operating systems and there isn't any mechanism for restricting the windows feature option for operating systems > 600.

I suspect that the issue is what the log file states, it cannot find the handle to the elevated EXE. The problem is that I cannot see what I need to do to resolve the issue. I have not seen how this behaves on Vista yet.

UPDATE: I just tested on a Vista SP2 x64 system and the same installation works and installs .NET 3.5 successfully. So I do not know what to say.

UPDATE2: I rebuilt the package without any 'Windows Features' added to any of the packages. This solves the problem of the .NET 3.5 not installing. So the problem is with the Windows Feature for .NET 3.5 and it is trying to enable a feature on XP possibly? I do not know how this feature has been enabled for the suite package. I am also getting errors returned from installing the Windows Installer 4.5 for Windows XP SP2 and later but I suspect that it because it is incorrectly evaluating the version for msi.dll.

How do I get values from SQLConnection?

$
0
0
I am trying to create a Installer from a Windows Service. During that installation, I need to collect values from the database values from the Installer to form a connection string used in the Windows Service. I was creating my own custom dialog when my Support Specialist informed me about the built-in SQL Server dialog under SQL Scripts. There are default properties like IS_SQLSERVER_USERNAME used. When I informed my specialist that I needed access to those values from my Windows Service, he said that these were only during Install time, and to run SQL Scripts.

Is there any way to get these values?

If not, is there another way to go here where I can collect this information and access it from the Windows Service? Custom dialog and properties - write to registry and read from service? How?

Thanks,
Sam

difference between execute command and execute script?

$
0
0
I was trying to execute a command on Linux and originally tried using the 'execute command' action, but this resulted in a linux error. The command is as follows:

grep "string" $path_to_file$ | cut -f3 -d' '

with the following rule:

$path_to_file$ exists and is a file

When executing this, STDOUT is empty and STDERR says something to the effect:

grep: file does not exist

If I take this same exact command and put it in an 'execute script' action, it works with flying colors. Obviously the file exists because the command would not even get executed if the file was not there. I can manually run the command in terminal and it gives the desired results. Is there some differences in how the environment is set up on both of these actions or something?

Error loading .resources

$
0
0
Ok, when I'm tracing my loading of my WPF app, I'm getting the following errors on .resources. I'm not sure what to do about this. Help yo.

Telerik.Windows.Controls.resources
*** Assembly Binder Log Entry (2/18/2014 @ 11:36:07 AM) ***

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable C:\Program Files (x86)\MyAppVDI\MyApp Main\MyAppMain.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: DisplayName = Telerik.Windows.Controls.resources, Version=2013.3.1316.40, Culture=en, PublicKeyToken=5803cfa389c90ce7
(Fully-specified)
LOG: Appbase = file:///C:/Program Files (x86)/MyAppVDI/MyApp Main/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = MyAppMain.exe
Calling assembly : Telerik.Windows.Controls, Version=2013.3.1316.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files (x86)\MyAppVDI\MyApp Main\MyAppMain.exe.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Telerik.Windows.Controls.resources, Version=2013.3.1316.40, Culture=en, PublicKeyToken=5803cfa389c90ce7
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
ERR: Unrecoverable error occurred during pre-download check (hr = 0x80070002).


MyAppMain.resources

*** Assembly Binder Log Entry (2/18/2014 @ 11:36:06 AM) ***

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable C:\Program Files (x86)\MyAppVDI\MyApp Main\MyAppMain.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: DisplayName = MyAppMain.resources, Version=1.0.1.10, Culture=en, PublicKeyToken=05b259ab3b08f270
(Fully-specified)
LOG: Appbase = file:///C:/Program Files (x86)/MyAppVDI/MyApp Main/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = MyAppMain.exe
Calling assembly : MyAppMain, Version=1.0.1.10, Culture=neutral, PublicKeyToken=05b259ab3b08f270.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files (x86)\MyAppVDI\MyApp Main\MyAppMain.exe.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: MyAppMain.resources, Version=1.0.1.10, Culture=en, PublicKeyToken=05b259ab3b08f270
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/MyAppVDI/MyApp Main/en/MyAppMain.resources.DLL.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/MyAppVDI/MyApp Main/en/MyAppMain.resources/MyAppMain.resources.DLL.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/MyAppVDI/MyApp Main/en/MyAppMain.resources.EXE.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/MyAppVDI/MyApp Main/en/MyAppMain.resources/MyAppMain.resources.EXE.
LOG: All probing URLs attempted and failed.

IIS installation

$
0
0
My IIS installation works great during the first installation.
When I run a new IS setup, the virtual directory is not updated. How do I resolve this.

Example:

- first installation my virtual directory is "E:\test\version1"
- second installation "new IS package" my virtual directory is not updated to "E:\test\version2"

How do I update the virtual directory?

What are the functions that install to IIS?
Can I make changes to these functions?

PATH variable

$
0
0
We were using GO for our automated builds and we were using this command line in an NANT file to run Installshield
<exec program="iscmdbld.exe"
commandline="-p &quot;${installshieldismbase}\${installshieldism}&quot; -r &quot;SINGLE_EXE_IMAGE&quot; -l PATH_TO_PIPELINE=&quot;${pathVariableRoot}&quot; -c COMP -y &quot;${Version}&quot; -f &quot;RELEASEFLAGS=${ReleaseFlags}&quot; -z &quot;PROVIDER=${Provider}&quot; -z &quot;PROVIDERID=${ProviderID}&quot; -z &quot;Environment=${Environment}&quot;" failonerror="false">
We ported this to msbuild for use under TFS in an msbuild proj file
<!--<Exec Command="IsCmdBld.exe -p &quot;file.ism&quot; -r &quot;SINGLE_EXE_IMAGE&quot; -l PATH_TO_PIPELINE=&quot;d:\tfs\Foo\&quot; -z &quot;ENVIRONMENT=$(ENV)&quot; -z &quot;PROVIDER=$(PROVIDER)&quot; -z &quot;EDITION=$(EDITION)&quot;" ContinueOnError="true"/>-->
Under Go, the PATH_TO_PIPELINE variable would be updated to what was passed in from GO as the pipeline name from the predefined value. I am trying to get this to work under TFS, but cannot seem to get it to work. Hard coding the value of PATH_TO_PIPELINE to a value produces this error
d:\tfs\Installer\installshield\Installshield.proj (33): The command "IsCmdBld.exe -p "file.ism" -r "SINGLE_EXE_IMAGE" -l PATH_TO_PIPELINE="d:\tfs\Foo\" -z "ENVIRONMENT=Dev" -z "PROVIDER=******" -z "EDITION=*****"" exited with code -1114.
The provider, dev, and edition values are updating fine.
Ideas and let me know if there is more info needed.
Devin

Is it possible to use a custom action to set a property to a numeric value

$
0
0
I am using a property DEFAULT_PORT in my installer that I default to a specified integer value say 16315. I have a vbscript custom action that gets the session.property("DEFAULT_PORT") and then determines if in fact the port is open..if its not it upticks the value until an open port if found.

The problem I am having is when I need to store the new integer value in the property. (defaultPort is the open port we are going to set DEFAULT_PORT to)

This does not work: ( you do not see the value being set in the msi.log file)
Session.Property("DEFAULT_PORT") = defaultPort

This will work, but now when I display the value in a later dialog it has " " around the value. So "16317" is displayed instead of 16317
Session.Property("DEFAULT_PORT") = chr(34)& defaultPort &chr(34)

Is there some other way I can assign the new value to the property to use later in the install process?

Thanks,
Erik

Billboard in Suite

$
0
0
Is there a trick to getting an swf file to display in a Suite Billboard?
I have the file in the Support Files.
I can display a png file, but get nothing when I try to display a swf file.

Log file shows:
2-18-2014[05:19:24 PM]: Initializing resource 'My Installer Flash.swf', type 1
2-18-2014[05:19:24 PM]: Resource was staged to 'C:\Users\RGUGGI~1.000\AppData\Local\Temp\{6C79EA2F-36C0-435C-8284-D8BF15305D40}\My Installer Flash.swf'

The log file looks the same when I use a png file, and that works.
Thanks

Installshield Legacy Products

$
0
0
Hi Team,

We are creating msi's using Legacy installshield like (Installshield X, 10.5,11 and Dev studio 9.0 ). All the Installshield products installed on Windows XP/ Windows 2003 machine's only. No we are planing to migrate from Windows Xp to Windows 7. Can we install the installshield legacy product in windows 7 machine. Is there is any problem occurs while installing the products. Please let us know. Each and every suggession and feedback would be appreciated.

Thanks in Advance for your helping
Regards
Murugesan.R

Font style & color for skinned dialog

$
0
0
Hello,
I'm trying to change the font style and color on a skinned dialog. Isnt that possible in InstallShield?
I tried using html tags, but couldnt get the color changed.
Can anyone help me on this...
Thanks much in advance.
Anitha

Uninstall InstallAware Setup

$
0
0
Hello,

I switched from InstallAware (back) to InstallShield. Now I have the problem that I am not able to uninstall the old version (generated with IA) with my new InstallShield Installation.

Since it is not possible to run one .msi within another I have no idea how to solve this problem.

I was able to uninstall the InstallAware setup during User Interface sequence but if I run the setup full silent then the uninstallation is not executed.

Also a prerequisite is not executed in silent mode, right? Or could a feature prerequisite be a solution? Any other suggestions?

I hope I can solve this without the help of InstallAware anyhow...
Viewing all 4553 articles
Browse latest View live