Skip navigation
8082 Views 10 Replies Latest reply: Jul 31, 2008 12:38 PM by Gabrielle RSS
Bronze 8 posts since
Dec 21, 2007
Currently Being Moderated

Dec 21, 2007 1: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 7,042 posts since
    Jan 24, 2005
    Currently Being Moderated
    Dec 22, 2007 6: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).

  • wroot KeyContributor 7,042 posts since
    Jan 24, 2005
    Currently Being Moderated
    Jan 3, 2008 4: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 12: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 ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points