• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

FOG Snapin sfx not running command

Scheduled Pinned Locked Moved
FOG Problems
3
4
1.6k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    mecsr
    last edited by Sep 13, 2014, 12:40 AM

    When I deploy a snapin with a sfx.exe it sends the file and extracts the archive to the appropriate folder, but then it doesn’t run the command.

    I’m trying to deploy the snapins on domain computers with only non admin accounts. I use a program called runasspc to run the installers as admin while normal users are logged on. When I test the sfx on a domain account it works flawlessly. But not when it’s deployed from fog.

    Let me break it down.

    For my snapins I use the sfx method

    I put the following into a 7zip archive.
    runasspc.exe,
    crypt.spc, (encrypted file with admin username/password that points to the script),
    and the install script (calls the net use to connect to the samba, the installer from the samba server, unmounts the net use, and then deletes itself and its directory)

    I then make a sfx.exe with sfx maker as is described [URL=‘http://fogproject.org/forum/threads/how-to-make-a-simple-snapin-start-to-finish.304/’]here[/URL]

    In the Sfx I have a task that runs the script through the runasspc.exe and it’s encrypted credentials.

    Hopefully that’s not too hard to follow and someone can help me see what I’m doing wrong. I’ve looked at many other forum posts but didn’t find anything that helped.

    Thanks,
    -JJ

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Sep 13, 2014, 2:17 AM

      So when you run the sfx.exe file generated all runs properly? Just not when fog tries to run it, right? Is this windows 7? I’m going to guess what’s happening is ISD is keeping the program from running. So it’s actually waiting to do work in the background, maybe via a next request?

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • M
        mecsr
        last edited by Sep 13, 2014, 4:23 AM

        It’s Windows 8.1, not sure what ISD is. Is there a way to get around that so that it starts right away?

        1 Reply Last reply Reply Quote 0
        • S
          Seydoo
          last edited by Jun 5, 2015, 9:49 AM

          Hello,

          I had the same pb with my sfx file. To solve this i created a .bat file that run the installer (or any other file) which will be run after extract. with this method it works. But perhaps you have already found a solution to your issue 😉
          the SFX maker i use is the one created by David Cornish (SFX Maker by http://www.isoft-online.com/ never worked for me)

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          233

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project