This Question is Answered

1 "helpful" answer available (5 pts)
10 Replies Last post: Jul 31, 2008 2:38 PM by Gabrielle  
cabby Bronze 8 posts since
Dec 21, 2007
Currently Being Moderated

Dec 21, 2007 3:58 PM

2.5.8 MSI install requires admin for first run

 

I'm testing to deploy Spark to my company with about 150-200 users located around the country, and I'm running into an issue:

 

 

We're on a Win2k domain and regular users don't have admin. On computers where the Spark MSI is installed either directly by the user or in a silent network install with admin rights, Spark refuses to start. Watching taskmgr processes shows the process launch and immediately die.  No logs, no nothing.

 

 

I can log in as an admin and run the program with admin rights, log off and a regular user on that machine then has full access to run the application.

 

 

I've checked the JRE version on the PCs and it's 1.6 (using the 44mb MSI installer, does that come with JRE as well?). I also edited the MSI to install a shortcut to the Startup group, but the problem occurs with an unedited MSI.

 

 

I'd like to get this deployed, but I don't want to have to log on to every machine in the company to do it. The network install is ready, I've even got the JRE1.6 MSI ready for network installs just in case. This is the last piece, any ideas?

 

 

wroot KeyContributor 3,481 posts since
Jan 24, 2005
Currently Being Moderated
Dec 22, 2007 8:18 AM in response to: cabby
Re: 2.5.8 MSI install requires admin for first run

This is a known issue (i have a thread about this here myself), but no good solution so far. Spark has to extract some files in Program Files directory upon first startup. Obviously it should be done during setup. But i'm not hoping to see a solution from developers quickly, as Spark project is a bit slowing down (new developer, other priorities).

Todd Getz KeyContributor 2,582 posts since
Apr 2, 2007
Currently Being Moderated
Dec 26, 2007 10:20 AM in response to: cabby
Re: 2.5.8 MSI install requires admin for first run

I created a completely custome installer using EMCO MSI builder.  I did this to add icons to statup items and copy some default settings to the default user profile.  I also modified several graphics to make spark use our corporate logo.  My msi build installs fine with no errors.  All users can use it immediately regardless of user rights.  I am in an AD 2003 environment, Using XP SP2 for clients, Server 2003 for the Server, SSO for authentication to AD LDAP.

ray Bronze 1 posts since
Jan 22, 2008
Currently Being Moderated
Jan 22, 2008 11:30 AM in response to: Todd Getz
Re: 2.5.8 MSI install requires admin for first run

 

hi mtstravel,

 

 

Your suggestion seem to be the ideal world for us to deploy the spark.

 

 

Are you use the EMCO mai builder with the spark....msi? could you explain a bit moer how to change the logo please.

 

 

When you said you using SSO, is it something you could add register key and move the ini file in to windows folder?

 

 

 

 

here the link i been reading how to create SSO http://www.igniterealtime.org/community/docs/DOC-1362

 

 

 

 

Thanks ZikusA

 

 

Todd Getz KeyContributor 2,582 posts since
Apr 2, 2007
Currently Being Moderated
Jan 22, 2008 11:59 AM in response to: ray
Re: 2.5.8 MSI install requires admin for first run

I use EMCO to watch the install of the exe installer.  This then copies all files and settings to the EMCO folder.  You can use a program lik 7zip to view the contents of the spark.jar file.  All the images are in this file.  Create new images of the same dimenssion and copy them to the jar file (replacing the original).  Yes you can add the registry edits and the ini file to the msi project in EMCO at this point.

Todd Getz KeyContributor 2,582 posts since
Apr 2, 2007
Currently Being Moderated
Jan 22, 2008 1:26 PM in response to: cabby
Re: 2.5.8 MSI install requires admin for first run

That is very odd. I have created 20+ msi files that have never failed to deploy to the computers via AD policy.  I have built every versionof Spark from 2.5.0 to 2.5.8 in EMCO using the manner described with no issues.

wroot KeyContributor 3,481 posts since
Jan 24, 2005
Currently Being Moderated
Dec 26, 2007 11:15 AM in response to: cabby
Re: 2.5.8 MSI install requires admin for first run

Sorry. I dont have a workaround.

wroot KeyContributor 3,481 posts since
Jan 24, 2005
Currently Being Moderated
Jan 3, 2008 6:21 AM in response to: cabby
Re: 2.5.8 MSI install requires admin for first run

there could be a solution in 2.5.9 release - SPARK-906

Gabrielle Bronze 3 posts since
Jul 30, 2008
Currently Being Moderated
Jul 31, 2008 2:38 PM in response to: cabby
Re: 2.5.8 MSI install requires admin for first run

I'm in the process of deploying Spark with Group Policy. I've run in to the auto run registry entry issue and the first run issue. As a work around I've added the following to my startup bat to fix the first run issue. This works on windows XP, I haven't tested it on 2k. It basically checks for the sparks folder in Program Files and if it exists gives domain users full control to the Spark directory.

 

If not exist "C:\Program Files\Spark" GOTO END
cacls "C:\Program Files\Spark" /E /T /C /G "Domain Users:F"

:END

 

When I'm done deploying the software I'll change the line to only allow users to change files...

 

If not exist "C:\Program Files\Spark" GOTO END
cacls "C:\Program Files\Spark" /E /T /C /G "Domain Users:C"

:END

 

I just manually edited the registry entry on my PC then exported it, to correct the exe name on the MSI install and added it to my domain workstations startup bat.

 

If not exist "C:\Program Files\Spark" GOTO END

REGEDIT /S \\<YOUR Domain name>\NETLOGON\spark\run.reg

:END

 

The run.reg file looks like this

 

Windows Registry Editor Version 5.00

 

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"Spark"="C:\\Program Files\\Spark\\spark.exe"

 

It's not ideal but it works!

Gabrielle

More Like This

  • Retrieving data ...