标签: install

如何制作游戏等的自定义安装程序?

任何人都可以告诉我如何创建自定义安装程序来"安装"游戏.我说自定义意味着我不希望用户拥有安装游戏的选项.我希望它是一个直接的过程,也许只有一个加载栏.

我正在开发的程序是游戏的"中心",其中包括社区和其他功能,例如记录游戏玩法时间的计时器.我只是认为用一个简单的安装程序在一个地方安装每个游戏会使程序更容易使用.它还允许我做其他功能,因为游戏将全部安装在一个地方.用户无需指定游戏的安装位置.
这可能吗?

c# installer install

1
推荐指数
1
解决办法
3764
查看次数

浏览安装后的NSIS目录页面选择后添加"$ {PRODUCT_NAME}"

我有一个带有目录页面的简单NSIS脚本,用户可以在其中选择要安装应用程序的目录.请参阅下面的示例,如果已安装该应用程序,则会从注册表中获取值,或者使用www root或"program files\publisher\product name".

问题是,当我单击目录页面上的浏览并选择特定目录(例如:c:\ test)时,当我关闭浏览对话框时,定义PRODUCT_NAME会自动添加到路径中:c:\ test\Invoice Management Workflow .如何避免自动添加产品名称?

!define PRODUCT_NAME "Invoice Management Workflow"

!insertmacro MUI_DEFINES
!insertmacro MUI_PAGE_WELCOME
Page directory DirPre
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_INSTFILES

Function DirPre
    ; set the INSTDIR to 
    ReadRegStr $0 HKLM "Software\${PRODUCT_PUBLISHER}\${PRODUCT_NAME}" "InstallDirectory"
    ${If} $0 != ""
        StrCpy $INSTDIR $0
        Abort
    ${Else}
        ; get the install dir from reg
        ReadRegStr $0 HKLM "SOFTWARE\Microsoft\InetStp" "PathWWWRoot"
        ${If} $0 != ""
            StrCpy $INSTDIR $0
        ${EndIf}
    ${EndIf}
FunctionEnd
Run Code Online (Sandbox Code Playgroud)

directory install nsis

1
推荐指数
1
解决办法
3019
查看次数

CakePHP 1.3安装在子目录中

我必须在子目录中的共享主机上部署我的cakephp 1.3标准安装.

类似问题的其他答案对我不起作用.

在localhost上,我将我的开发空间作为虚拟主机

myproject.local.com
Run Code Online (Sandbox Code Playgroud)

在文件系统上是 /var/www/myproject/

那里有cakephp

所以

/app
/app/webroot etc
Run Code Online (Sandbox Code Playgroud)

我启用了mod_rewrite.

如果我想,使用相同的虚拟主机,将我的cakephp应用程序放在下面/subfolder/,然后访问它myproject.local.com/subfolder/,我必须做什么?

请记住,我无法访问apache配置文件,我不能在root上放任何东西.

有任何想法吗?

可以使用RewriteBase仅修改子文件夹/,子文件夹/ app /,子文件夹/ app/webroot中的htaccess文件吗?

deployment .htaccess install cakephp subdirectory

1
推荐指数
1
解决办法
3361
查看次数

Ruby on Rails更新gems("gem update --system"),获取错误消息

我正在运行命令"gem update --system".我收到以下错误消息.任何帮助,将不胜感激!

我正在运行Rails 1.9.2补丁136和ruby 3.0.3.

Users/woshea/.rvm/gems/ruby-1.9.2-p136@rails3tutorial/gems/rubygems-update-1.4.1/lib/rubygems/source_index.rb:62:in `installed_spec_directories': undefined method `path' for Gem:Module (NoMethodError)
    from /Users/woshea/.rvm/gems/ruby-1.9.2-p136@rails3tutorial/gems/rubygems-update-1.4.1/lib/rubygems/source_index.rb:52:in `from_installed_gems'
    from /Users/woshea/.rvm/gems/ruby-1.9.2-p136@rails3tutorial/gems/rubygems-update-1.4.1/lib/rubygems.rb:914:in `source_index'
    from /Users/woshea/.rvm/gems/ruby-1.9.2-p136@rails3tutorial/gems/rubygems-update-1.4.1/lib/rubygems/gem_path_searcher.rb:98:in `init_gemspecs'
    from /Users/woshea/.rvm/gems/ruby-1.9.2-p136@rails3tutorial/gems/rubygems-update-1.4.1/lib/rubygems/gem_path_searcher.rb:13:in `initialize'
    from /Users/woshea/.rvm/gems/ruby-1.9.2-p136@rails3tutorial/gems/rubygems-update-1.4.1/lib/rubygems.rb:873:in `new'
    from /Users/woshea/.rvm/gems/ruby-1.9.2-p136@rails3tutorial/gems/rubygems-update-1.4.1/lib/rubygems.rb:873:in `searcher'
    from /Users/woshea/.rvm/gems/ruby-1.9.2-p136@rails3tutorial/gems/rubygems-update-1.4.1/lib/rubygems.rb:495:in `find_files'
    from /Users/woshea/.rvm/gems/ruby-1.9.2-p136@rails3tutorial/gems/rubygems-update-1.4.1/lib/rubygems.rb:1034:in `load_plugins'
    from /Users/woshea/.rvm/gems/ruby-1.9.2-p136@rails3tutorial/gems/rubygems-update-1.4.1/lib/rubygems/gem_runner.rb:84:in `<top (required)>'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from setup.rb:25:in `<main>'
Run Code Online (Sandbox Code Playgroud)

我的环境如下:

  • RUBYGEMS版本:1.3.7
    • RUBY VERSION:1.9.2(2010-12-25 patchlevel 136)[x86_64-darwin10.4.0]
    • 安装目录:/Users/woshea/.rvm/gems/ruby-1.9.2-p136@rails3tutorial
    • RUBY EXECUTABLE:/Users/woshea/.rvm/rubies/ruby-1.9.2-p136/bin/ruby
    • 可执行目录:/Users/woshea/.rvm/gems/ruby-1.9.2-p136@rails3tutorial/bin
    • RUBYGEMS PLATFORMS:
    • 红宝石
    • x86_64的-达尔文-10
    • 创业板路径:
      • /Users/woshea/.rvm/gems/ruby-1.9.2-p136@rails3tutorial
      • /Users/woshea/.rvm/gems/ruby-1.9.2-p136@global
    • 创业板配置:
      • :update_sources => true
      • :verbose => true
      • :benchmark => false
      • :backtrace => …

install rubygems ruby-on-rails

1
推荐指数
1
解决办法
1885
查看次数

在OS X上安装memcached以与django(python)一起使用

Hay,我想知道是否有人可以指点我在OS X上安装memcached与django一起使用的教程(抓取源代码,制作,安装,安装其他任何我需要使用的东西).

任何帮助都会很棒.

python django memcached install makefile

1
推荐指数
1
解决办法
2774
查看次数

在运行Debian的虚拟机上使用RVM安装Ruby无声地失败

我已经使用VirtualBox在Vista主机上成功安装了Debian客户操作系统.我正在尝试按照本教程(http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you)安装RVM和Ruby.它似乎成功安装了ruby,但终端根本不会识别ruby.

这是终端输出:

user@debian:~$ rvm install 1.9.2
/home/user/.rvm/rubies/ruby-1.9.2-p136, this may take a while depending on your cpu(s)...

ruby-1.9.2-p136 - #fetching 
ruby-1.9.2-p136 - #downloading ruby-1.9.2-p136, this may take a while depending on your connection...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed
100 8612k  100 8612k    0     0   200k      0  0:00:42  0:00:42 --:--:--  328k
ruby-1.9.2-p136 - #extracting ruby-1.9.2-p136 to /home/user/.rvm/src/ruby-1.9.2-p136
ruby-1.9.2-p136 - #extracted to /home/user/.rvm/src/ruby-1.9.2-p136
ruby-1.9.2-p136 - #configuring 
ruby-1.9.2-p136 - #compiling 
ruby-1.9.2-p136 …
Run Code Online (Sandbox Code Playgroud)

ruby linux install ruby-on-rails rvm

1
推荐指数
1
解决办法
1302
查看次数

sphinx安装错误

我试图在MacOSX雪豹10.6.4上安装Sphinx.我遵循的步骤是:

./configure --prefix =/usr/local --with-mysql =/usr/local/mysql make sudo make install

'make'时,我收到以下错误:

Making all in src
if test -d ../.svn; then svn info .. --xml | perl svnxrev.pl; fi;
make  all-am
g++ -DHAVE_CONFIG_H -I. -I../config  -DSYSCONFDIR="\"/usr/local/etc\"" -I/usr/local/include -I/usr/local/mysql/include  -Os -g -fno-common -fno-strict-aliasing -arch i386   -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -MT sphinx.o -MD -MP -MF .deps/sphinx.Tpo -c -o sphinx.o sphinx.cpp
In file included from /usr/include/sql.h:92,
                 from /usr/include/sqlext.h:82,
                 from sphinx.h:69,
                 from sphinx.cpp:14:
/usr/include/iodbcunix.h:128: error: conflicting declaration ‘typedef unsigned int DWORD’
sphinxstd.h:90: error: ‘DWORD’ …
Run Code Online (Sandbox Code Playgroud)

install sphinx

1
推荐指数
1
解决办法
1620
查看次数

查找office word 2010的安装路径

我发现这篇文章描述了如何找到办公室的安装路径:

http://support.microsoft.com/kb/234788/en-us

但是在文章中只有2007年的GUID,办公室2010的GUID是什么,或者我在哪里可以找到它们?

install windows-installer ms-word path office-2010

1
推荐指数
1
解决办法
2万
查看次数

我无法引导Spork配置

spork --bootstrap在命令行上运行,我得到了错误-bash: spork: command not found

我知道我安装了spork因为当我跑步时bundle show spork我得到了/Library/Ruby/Gems/1.8/gems/spork-0.9.0.rc3

我甚至尝试将目录更改为Spork所在的位置并运行spork --bootstrap但我收到相同的错误消息.

我该怎么办?

ruby testing install ruby-on-rails spork

1
推荐指数
1
解决办法
611
查看次数

将我创建的多个应用捆绑到一个.apk文件中

是否可以将应用程序和应用程序设置捆绑到一个apk文件中?所以我可以从"应用程序设置"更改应用程序设置

谢谢

android install apk

1
推荐指数
1
解决办法
3156
查看次数